[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);
- [gnuastro-commits] master updated (958018d -> c074b09), Mohammad Akhlaghi, 2016/10/02
- [gnuastro-commits] master 8644305 5/6: Correctly report conf files checked, Mohammad Akhlaghi, 2016/10/02
- [gnuastro-commits] master c074b09 6/6: Duplicate filename in MakeCatalog's output removed,
Mohammad Akhlaghi <=
- [gnuastro-commits] master 008df03 2/6: Minor random small corrections, Mohammad Akhlaghi, 2016/10/02
- [gnuastro-commits] master b9c3d30 1/6: envseed as a conf. option in MakeNoise and MakeProfiles, Mohammad Akhlaghi, 2016/10/02
- [gnuastro-commits] master 708090b 4/6: Non-installed headers moved to lib/, Mohammad Akhlaghi, 2016/10/02
- [gnuastro-commits] master 3600a5e 3/6: Upper limit magnitude calculation in MakeCatalog, Mohammad Akhlaghi, 2016/10/02