Skip to content

Commit

Permalink
pass bias_run to HarnessedJobFilePaths.get_files when finding PCA-bas…
Browse files Browse the repository at this point in the history
…ed bias correction files
  • Loading branch information
jchiang87 committed Feb 4, 2021
1 parent cb9b0f6 commit 13c2b5c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/bot_eo_analyses.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,12 @@ def bias_filename(run, det_name):
if use_pca_bias:
pca_bias_model \
= hj_fp_server.get_files('bias_frame_BOT',
f'*{det_name}*_pca_bias.pickle')[0]
f'*{det_name}*_pca_bias.pickle',
run=bias_run)[0]
pca_bias_file \
= hj_fp_server.get_files('bias_frame_BOT',
f'*{det_name}*_pca_bias.fits')[0]
f'*{det_name}*_pca_bias.fits',
run=bias_run)[0]
pca_bias_model = siteUtils.get_scratch_files([pca_bias_model])[0]
pca_bias_file = siteUtils.get_scratch_files([pca_bias_file])[0]
filename = pca_bias_model, pca_bias_file
Expand Down

0 comments on commit 13c2b5c

Please sign in to comment.