Skip to content

Commit

Permalink
fixed previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mommermi committed Nov 20, 2018
1 parent 25be373 commit 1cc7b3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pp_calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,9 @@ def calibrate(filenames, minstars, manfilter, manualcatalog,
ldac_filename = filename[:filename.find('.fit')]+'.ldac'
cat = catalog(filename)
if manfilter is not False:
cat.filtername = filtername
else:
cat.filtername = manfilter
else:
cat.filtername = filtername
if display:
print(cat.read_ldac(ldac_filename, filename, maxflag=maxflag,
object_keyword=obsparam['object'],
Expand Down

0 comments on commit 1cc7b3c

Please sign in to comment.