gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master dde1662: NoiseChisel's --grownclumps moved to


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master dde1662: NoiseChisel's --grownclumps moved to seg options
Date: Thu, 2 Nov 2017 22:48:39 -0400 (EDT)

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

    NoiseChisel's --grownclumps moved to seg options
    
    Until now, NoiseChisel's `--grownclumps' option was classified as part of
    the output options. However, similar to the check images, it is directly
    related to the segmentation steps so it is much more easier to find if it
    is near those.
---
 bin/noisechisel/args.h | 38 +++++++++++++++++++++++++-------------
 1 file changed, 25 insertions(+), 13 deletions(-)

diff --git a/bin/noisechisel/args.h b/bin/noisechisel/args.h
index d672e28..a6a68b2 100644
--- a/bin/noisechisel/args.h
+++ b/bin/noisechisel/args.h
@@ -144,6 +144,8 @@ struct argp_option program_options[] =
 
 
 
+
+
     /* Output options. */
     {
       "onlydetection",
@@ -158,19 +160,7 @@ struct argp_option program_options[] =
       GAL_OPTIONS_NOT_MANDATORY,
       GAL_OPTIONS_NOT_SET
     },
-    {
-      "grownclumps",
-      UI_KEY_GROWNCLUMPS,
-      0,
-      0,
-      "Save grown clumps instead of original.",
-      GAL_OPTIONS_GROUP_OUTPUT,
-      &p->grownclumps,
-      GAL_OPTIONS_NO_ARG_TYPE,
-      GAL_OPTIONS_RANGE_0_OR_1,
-      GAL_OPTIONS_NOT_MANDATORY,
-      GAL_OPTIONS_NOT_SET
-    },
+
 
 
 
@@ -471,6 +461,8 @@ struct argp_option program_options[] =
 
 
 
+
+
     /* Segmentation */
     {
       0, 0, 0, 0,
@@ -569,6 +561,19 @@ struct argp_option program_options[] =
       GAL_OPTIONS_NOT_SET
     },
     {
+      "grownclumps",
+      UI_KEY_GROWNCLUMPS,
+      0,
+      0,
+      "Save grown clumps instead of original.",
+      UI_GROUP_SEGMENTATION,
+      &p->grownclumps,
+      GAL_OPTIONS_NO_ARG_TYPE,
+      GAL_OPTIONS_RANGE_0_OR_1,
+      GAL_OPTIONS_NOT_MANDATORY,
+      GAL_OPTIONS_NOT_SET
+    },
+    {
       "checksegmentation",
       UI_KEY_CHECKSEGMENTATION,
       0,
@@ -583,6 +588,10 @@ struct argp_option program_options[] =
     },
 
 
+
+
+
+    /* Operating mode options. */
     {
       "continueaftercheck",
       UI_KEY_CONTINUEAFTERCHECK,
@@ -599,6 +608,9 @@ struct argp_option program_options[] =
 
 
 
+
+
+    /* End of options. */
     {0}
   };
 



reply via email to

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