Skip to content

Commit

Permalink
avoid persisting more than one copy of QE files
Browse files Browse the repository at this point in the history
  • Loading branch information
jchiang87 committed Feb 21, 2017
1 parent 53d6856 commit d2084c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
band=band, QE=np.mean(QE[band]),
slot=slot, sensor_id=sensor_id))

qe_files = glob.glob('*QE*.*')
qe_files = glob.glob('%s_*QE*.*' % sensor_id)
for item in qe_files:
if item.endswith('.fits'):
eotestUtils.addHeaderData(item, LSST_NUM=sensor_id,
Expand Down

0 comments on commit d2084c2

Please sign in to comment.