Skip to content

Commit

Permalink
fix for which filtername goes into catalog header
Browse files Browse the repository at this point in the history
  • Loading branch information
mommermi committed Nov 19, 2018
1 parent 6edd672 commit 25be373
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pp_calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,10 @@ def calibrate(filenames, minstars, manfilter, manualcatalog,
filternames[filtername] = [filename]
ldac_filename = filename[:filename.find('.fit')]+'.ldac'
cat = catalog(filename)
cat.filtername = filtername
if manfilter is not False:
cat.filtername = filtername
else:
cat.filtername = manfilter
if display:
print(cat.read_ldac(ldac_filename, filename, maxflag=maxflag,
object_keyword=obsparam['object'],
Expand Down

0 comments on commit 25be373

Please sign in to comment.