Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Mommert committed Dec 10, 2017
1 parent 5b1cc94 commit 618d881
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pp_calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ def calibrate(filenames, minstars, manfilter, manualcatalog,
telescope = hdulist[0].header['TEL_KEYW']
except KeyError:
print('ERROR: cannot find telescope keyword in image header;', \
'has this image run through wcs_register?')
'has this image run through pp_prepare?')
sys.exit(0)
obsparam = _pp_conf.telescope_parameters[telescope]

Expand Down
4 changes: 2 additions & 2 deletions pp_photometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def photometry(filenames, sex_snr, source_minarea, aprad,
if __name__ == '__main__':

# define command line arguments
parser = argparse.ArgumentParser(description='automated WCS registration')
parser = argparse.ArgumentParser(description='automated photometry')
parser.add_argument('-snr', help='sextractor SNR threshold for '+\
'photometry catalog', default=2)
parser.add_argument('-minarea', help='sextractor SNR threshold for '+\
Expand Down Expand Up @@ -474,7 +474,7 @@ def photometry(filenames, sex_snr, source_minarea, aprad,
telescope = hdu[0].header['TEL_KEYW']
except KeyError:
print('ERROR: cannot find telescope keyword in image header;'+\
'has this image run through wcs_register?')
'has this image run through pp_prepare?')
sys.exit(0)
obsparam = _pp_conf.telescope_parameters[telescope]

Expand Down

0 comments on commit 618d881

Please sign in to comment.