Skip to content

Commit

Permalink
removing duplicated option when running in cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmejia committed Sep 16, 2024
1 parent 2f17eb8 commit d984ea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/drp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ cli.add_command(metacli)
@click.option('-s', '--skip-done', is_flag=True, default=False, help='flag to skip reduction steps that have already been done')
@click.option('-c', '--clean-ancillary', is_flag=True, default=False, help='Remove ancillary paths after run')
@click.option('--fflats-from-to', type=int, default=[None, None], nargs=2, help='Move twilight fiberflats from one MJD to another MJD')
@click.option('-n', '--nightly', is_flag=True, default=False, help='flag to reduce nightly calibration sequence (defaults to long-term)')
@click.option('--nightly', is_flag=True, default=False, help='flag to reduce nightly calibration sequence (defaults to long-term)')
@cloup.constraint(mutually_exclusive, ['mjd', 'mjd_list', 'mjd_range'])
@cloup.constraint(RequireExactly(1), ['mjd', 'mjd_list', 'mjd_range'])
def calibrations(mjd, mjd_list, mjd_range, reject_cr,
Expand Down Expand Up @@ -356,7 +356,7 @@ def get_calibs(kind, mjd, camera):
@click.option('-w', '--walltime', type=str, default="24:00:00", help='the time for which the job is allowed to run')
@click.option('-a', '--alloc', type=click.Choice(['sdss-np', 'sdss-kp']), default='sdss-np', help='which partition to use')
@click.option('-s', '--submit', is_flag=True, type=bool, default=True, help='flag to submit the job or not')
@click.option('--run-calibs', is_flag=True, type=bool, default=False, help="run long-term calibrations only")
@click.option('--run-calibs', is_flag=True, type=bool, default=False, help="run calibration sequences only")
@click.option('--drp-options', type=str, default="", help="pass options to drp run command")
def cluster(mjd_list, mjd_range, expnum, exp_list, exp_range, exp_file, nodes, ppn, walltime,
alloc, submit, run_calibs, drp_options):
Expand Down

0 comments on commit d984ea2

Please sign in to comment.