fls-bioinformatics-core / auto_process_ngs

Scripts and utilities for automatic processing & management of Illumina NGS sequencing data.
Other
9 stars 7 forks source link

Force specification of run number for the 'setup' command #906

Closed pjbriggs closed 9 months ago

pjbriggs commented 11 months ago

Proposal to make the -r option compulsory for the setup command, to ensure that the run number is always specified.

pjbriggs commented 11 months ago

Looks like add_argument in ArgumentParser class supports a required option that could be used for this: https://docs.python.org/3/library/argparse.html#quick-links-for-add-argument