gnuastro-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-commits] master c074b09 6/6: Duplicate filename in MakeCatalog


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master c074b09 6/6: Duplicate filename in MakeCatalog's output removed
Date: Sun, 2 Oct 2016 22:23:46 +0000 (UTC)

branch: master
commit c074b0963f39f963b7ecf81671ec846ec34fd4e1
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Duplicate filename in MakeCatalog's output removed
    
    When a mask image was provided, MakeCatalog would report its file name two
    times in the final catalog. The extra (second time) line is removed with
    this commit.
---
 bin/mkcatalog/mkcatalog.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/bin/mkcatalog/mkcatalog.c b/bin/mkcatalog/mkcatalog.c
index 63e0a61..100170c 100644
--- a/bin/mkcatalog/mkcatalog.c
+++ b/bin/mkcatalog/mkcatalog.c
@@ -535,12 +535,6 @@ makeoutput(struct mkcatalogparams *p)
       /* If an upper limit was output then report its parameters: */
       if(p->obj0clump1==0 && p->up.upperlimitmagset)
         {
-          if(p->upmask)
-            {
-              sprintf(p->line, "# Upper limit magnitude mask %s (hdu: %s)\n",
-                      p->up.upmaskname, p->up.upmaskhdu);
-              strcat(comment, p->line);
-            }
           sprintf(p->line, "# "CATDESCRIPTLENGTH"%lu\n", "Number of upper "
                   "limit magnitude samples", p->upnum);
           strcat(comment, p->line);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]