gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 89b8686: Minor corrections in configuration ke


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 89b8686: Minor corrections in configuration keyword titles
Date: Fri, 10 Aug 2018 04:08:36 -0400 (EDT)

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

    Minor corrections in configuration keyword titles
    
    I noticed that the keyword titles for Segment's configuration in the output
    were "NoiseChisel input paramters" (the function was copied from
    NoiseChisel). The program name is now corrected.
    
    Also, to be shorter and more specific, the titles for both programs are
    "ProgramName configuration".
---
 bin/noisechisel/noisechisel.c | 4 ++--
 bin/segment/segment.c         | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/noisechisel/noisechisel.c b/bin/noisechisel/noisechisel.c
index 1c5bf08..a6d1e14 100644
--- a/bin/noisechisel/noisechisel.c
+++ b/bin/noisechisel/noisechisel.c
@@ -263,9 +263,9 @@ noisechisel_params_in_keywords(struct noisechiselparams *p)
                         &p->cleangrowndet, 0,
                         "Remove small S/N grown detections.", 0, NULL);
 
-  /* Reverse the list and write them. */
+  /* Reverse the list and write the keywords into the zero-th HDU. */
   gal_fits_key_list_reverse(&keys);
-  gal_fits_key_write_version(&keys, "NoiseChisel input parameters",
+  gal_fits_key_write_version(&keys, "NoiseChisel configuration",
                              p->cp.output, "0");
 
 }
diff --git a/bin/segment/segment.c b/bin/segment/segment.c
index b245fc5..a8bee88 100644
--- a/bin/segment/segment.c
+++ b/bin/segment/segment.c
@@ -1163,9 +1163,9 @@ segment_params_in_keywords(struct segmentparams *p)
                         "Store segmentation steps in a file.", 0, NULL);
 
 
-  /* Reverse the list and write them. */
+  /* Reverse the list and write the keywords into the zero-th HDU. */
   gal_fits_key_list_reverse(&keys);
-  gal_fits_key_write_version(&keys, "NoiseChisel input parameters",
+  gal_fits_key_write_version(&keys, "Segment configuration",
                              p->cp.output, "0");
 
 }



reply via email to

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