Skip to content

Commit

Permalink
laststep of skysub only to sframes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelo-alvarez committed Mar 15, 2023
1 parent 40f4d69 commit d7baf6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions py/desispec/scripts/proc_tilenight.py
Expand Up @@ -72,10 +72,10 @@ def main(args=None, comm=None):

#- Set the eligible laststep values for different processing steps
if args.laststeps is None:
prestd_laststeps = ['all', 'fluxcalib', 'skysub']
jntpst_laststeps = ['all', 'fluxcalib']
prestd_laststeps = jntpst_laststeps = ['all', 'fluxcalib']
else:
prestd_laststeps = jntpst_laststeps = args.laststeps
prestd_laststeps = args.laststeps
jntpst_laststeps = list(set(['all', 'fluxcalib']) & set(args.laststeps))

#- Determine expids and cameras for a tile night
keep = exptable['OBSTYPE'] == 'science'
Expand Down
8 changes: 2 additions & 6 deletions py/desispec/workflow/desi_proc_funcs.py
Expand Up @@ -139,12 +139,8 @@ def add_desi_proc_tilenight_terms(parser):
+ "(e.g. all, skysub, fluxcalib, ignore); "
+ "by default, exposures with LASTSTEP "
+ "'all' and 'fluxcalib' will be processed "
+ "to the poststdstar step, and those with "
+ "LASTSTEP 'skysub' to the prestdstar step. "
+ "If specified, exposures with LASTSTEP "
+ "values in the list will be processed to the "
+ "poststdstar step, and all others will not "
+ "be processed at all.")
+ "to the poststdstar step, and all others "
+ "will not be processed at all.")

return parser

Expand Down

0 comments on commit d7baf6a

Please sign in to comment.