From bc55b9cba91636f8c6ba08499d5afc2dec40429e Mon Sep 17 00:00:00 2001 From: Jim Chiang Date: Thu, 6 Apr 2017 16:00:11 -0700 Subject: [PATCH] persist fits files --- .../v0/validator_rtm_aliveness_exposure.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/harnessed_jobs/rtm_aliveness_exposure/v0/validator_rtm_aliveness_exposure.py b/harnessed_jobs/rtm_aliveness_exposure/v0/validator_rtm_aliveness_exposure.py index d158a7e..94c05ae 100755 --- a/harnessed_jobs/rtm_aliveness_exposure/v0/validator_rtm_aliveness_exposure.py +++ b/harnessed_jobs/rtm_aliveness_exposure/v0/validator_rtm_aliveness_exposure.py @@ -21,6 +21,8 @@ with open(outfile, 'w') as output: for seqno in seqnos: fits_files = sorted(glob.glob('*_%s_*.fits' % seqno)) + for fits_file in fits_files: + results.append(lcatr.schema.fileref.make(fits_file)) channel_signal, channel_status, exptime \ = aliveness_utils.raft_channel_statuses(fits_files) for slot in channel_status: