Skip to content

Commit

Permalink
deactivating ancillary cleaning in calibration runs
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmejia committed Jul 23, 2024
1 parent 142ba70 commit 43eb6ff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions python/lvmdrp/functions/run_calseq.py
Original file line number Diff line number Diff line change
Expand Up @@ -1183,8 +1183,8 @@ def create_pixelmasks(mjd, use_fiducial_cals=True, dark_expnums=None, pixflat_ex
image_tasks.create_pixelmask(in_short_dark=mdark_short_path, in_long_dark=mdark_long_path, out_pixmask=mpixmask_path)

# ancillary paths clean up
if not keep_ancillary:
_clean_ancillary(mjd=mjd, expnums=expnums)
# if not keep_ancillary:
# _clean_ancillary(mjd=mjd, expnums=expnums)


def create_nightly_traces(mjd, use_fiducial_cals=True, expnums_ldls=None, expnums_qrtz=None,
Expand Down Expand Up @@ -1929,8 +1929,8 @@ def reduce_nightly_sequence(mjd, use_fiducial_cals=False, reject_cr=True, only_c
else:
log.log(20 if "twilight" in found_cals else 40, "skipping production of twilight fiberflats")

if not keep_ancillary:
_clean_ancillary(mjd)
# if not keep_ancillary:
# _clean_ancillary(mjd)


def reduce_longterm_sequence(mjd, use_fiducial_cals=True, reject_cr=True, only_cals=CAL_FLAVORS, skip_done=True, keep_ancillary=False):
Expand Down Expand Up @@ -2016,8 +2016,8 @@ def reduce_longterm_sequence(mjd, use_fiducial_cals=True, reject_cr=True, only_c
else:
log.log(20 if "twilight" in found_cals else 40, "skipping production of twilight fiberflats")

if not keep_ancillary:
_clean_ancillary(mjd)
# if not keep_ancillary:
# _clean_ancillary(mjd)


def create_fiber_model(mjd, flux=10000):
Expand Down

0 comments on commit 43eb6ff

Please sign in to comment.