georgiesamaha / configBuilder-nf

Nextflow config builder scripts for supported HPC infrastructures.
7 stars 1 forks source link

Auto-detect if `modules` is used on the system #6

Closed jfy133 closed 11 months ago

jfy133 commented 12 months ago

Not all systems use module environments, so I think it isn't a great idea to automatically ask this.

Maybe run modules --version in the background, and if exit code 0 then ask the question of what modules to loads otherwise skip the question