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

planemo upload
author kkonganti
date Mon, 31 Mar 2025 14:50:40 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:97cd2f532efe
1 // Help text for gen_sim_abn_table.py (gsat) within CPIPES.
2
3 def gsatpyHelp(params) {
4
5 Map tool = [:]
6 Map toolspecs = [:]
7 tool.text = [:]
8 tool.helpparams = [:]
9
10 toolspecs = [
11 'gsatpy_run': [
12 clihelp: 'Run the gen_sim_abn_table.py script. Default: ' +
13 (params.gsatpy_run ?: false),
14 cliflag: null,
15 clivalue: null
16 ],
17 'gsatpy_header': [
18 clihelp: 'Does the taxonomic summary result files have ' +
19 'a header line. ' +
20 " Default: ${params.gsatpy_header}",
21 cliflag: '-header',
22 clivalue: (params.gsatpy_header ? ' ' : '')
23 ]
24 ]
25
26 toolspecs.each {
27 k, v -> tool.text['--' + k] = "${v.clihelp}"
28 tool.helpparams[k] = [ cliflag: "${v.cliflag}", clivalue: v.clivalue ]
29 }
30
31 return tool
32 }