diff 0.5.0/lib/help/gsatpy.nf @ 0:97cd2f532efe

planemo upload
author kkonganti
date Mon, 31 Mar 2025 14:50:40 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/0.5.0/lib/help/gsatpy.nf	Mon Mar 31 14:50:40 2025 -0400
@@ -0,0 +1,32 @@
+// Help text for gen_sim_abn_table.py (gsat) within CPIPES.
+
+def gsatpyHelp(params) {
+
+    Map tool = [:]
+    Map toolspecs = [:]
+    tool.text = [:]
+    tool.helpparams = [:]
+
+    toolspecs = [
+        'gsatpy_run': [
+            clihelp: 'Run the gen_sim_abn_table.py script. Default: ' +
+                (params.gsatpy_run ?: false),
+            cliflag: null,
+            clivalue: null
+        ],
+        'gsatpy_header': [
+            clihelp: 'Does the taxonomic summary result files have ' +
+                'a header line. ' +
+                " Default: ${params.gsatpy_header}",
+            cliflag: '-header',
+            clivalue: (params.gsatpy_header ? ' ' : '')
+        ]
+    ]
+
+    toolspecs.each {
+        k, v -> tool.text['--' + k] = "${v.clihelp}"
+        tool.helpparams[k] = [ cliflag: "${v.cliflag}", clivalue: v.clivalue ]
+    }
+
+    return tool
+}
\ No newline at end of file