-
name: relative_abundance
atype: flag
when-true: '--make_relative_abundance'
which I then use with func(relative_abundance=true).
This however causes:
Exiting after fatal error while loading and running script
System Error
Error running command for function "func"
exit code = 1
stdout=''
stderr=' /path/to/Modules/example.ngm/1.0/./run.sh: unrecognized option '--relative_abundance'
'
It seems the name is passed as-is.
The workaround is to give the same name as the argument but this causes problems with some options containing dashes: --max-values -> func(max-values=true).
One argument in an external module:
which I then use with
func(relative_abundance=true)
.This however causes:
It seems the name is passed as-is. The workaround is to give the same name as the argument but this causes problems with some options containing dashes:
--max-values
->func(max-values=true)
.