Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rongpu committed Feb 26, 2024
1 parent d1f93d7 commit 3a30a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/desispec/scripts/autocalib_fiberflat.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def main(args=None) :
from desispec.calibfinder import CalibFinder
for spectro, fiberflat in fiberflats.items():
cf = CalibFinder([fiberflat.header,])
ref_fiberflats[spectro] = cf.find('FIBERFLAT')
ref_fiberflats[spectro] = read_fiberflat(cf.findfile('FIBERFLAT'))
else:
#- use fiberflats from given night as reference
for spectro in fiberflats.keys():
Expand Down

0 comments on commit 3a30a1d

Please sign in to comment.