Skip to content

Commit

Permalink
Fix unimported library
Browse files Browse the repository at this point in the history
  • Loading branch information
zemogle committed Jun 30, 2024
1 parent 1b0af91 commit 38387e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.pyc
run.py

stdComps.csv
compsUsed.csv
Expand Down
2 changes: 1 addition & 1 deletion astrosource/analyse.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def photometric_calculations(targets, paths, targetRadius, errorReject=0.1, file

except ValueError:
#raise AstrosourceException("No target stars were detected in your dataset. Check your input target(s) RA/Dec")
print(traceback.print_exc())
import traceback; logger.error(traceback.print_exc())
logger.error("This target star was not detected in your dataset. Check your input target(s) RA/Dec")
#logger.info("Rejected Stdev Measurements: : {}".format(stdevReject))
#logger.error("Rejected Error Measurements: : {}".format(starErrorRejCount))
Expand Down

0 comments on commit 38387e6

Please sign in to comment.