Skip to content

Commit

Permalink
Remove file with images missing astrometry if it exists
Browse files Browse the repository at this point in the history
Closes #208
  • Loading branch information
mwcraig committed Jun 30, 2016
1 parent 7cbcc92 commit 81f2d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msumastro/scripts/run_triage.py
Expand Up @@ -235,7 +235,7 @@ def triage_directories(directories,

result = triage_fits_files(currentDir, file_info_to_keep=use_keys)
outfiles = [pointing_file_name, filter_file_name,
object_file_name, output_table]
object_file_name, output_table, astrometry_file_name]
for fil in [outfile for outfile in outfiles if outfile is not None]:
try:
os.remove(os.path.join(currentDir, fil))
Expand Down

0 comments on commit 81f2d47

Please sign in to comment.