Skip to content

Commit

Permalink
'setup' command: make the -r/--run-number command line argument compu…
Browse files Browse the repository at this point in the history
…lsory.
  • Loading branch information
pjbriggs committed Dec 18, 2023
1 parent 539f4f0 commit 3772bfb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions auto_process_ngs/cli/auto_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,16 @@ def add_setup_command(cmdparser):
help="Set up a new analysis directory",
description="Set up automatic processing of "
"Illumina sequencing data from RUN_DIR.")
p.add_argument('-r','--run-number',action='store',dest='run_number',
metavar="RUN_NUMBER",default=None,
help="Set facility run number (required)",
required=True)
p.add_argument('-s','--samplesheet','--sample-sheet',
action='store',dest='sample_sheet',default=None,
help="Copy sample sheet file from name and location "
"SAMPLE_SHEET (default is to look for SampleSheet.csv "
"inside DIR). SAMPLE_SHEET can be a local or remote "
"file, or a URL")
p.add_argument('-r','--run-number',action='store',dest='run_number',
metavar="RUN_NUMBER",default=None,
help="Set facility run number")
p.add_argument('-n','--analysis-number',action='store',
dest='analysis_number',metavar="ANALYSIS_NUMBER",
help="Set analysis number (e.g. if reprocessing "
Expand Down

0 comments on commit 3772bfb

Please sign in to comment.