spacetelescope / calcos

Calibration for HST/COS.
https://hst-docs.stsci.edu/cosdhb/chapter-3-cos-calibration
3 stars 27 forks source link

Bug in makeSptFileName() #233

Open sean-lockwood opened 8 months ago

sean-lockwood commented 8 months ago

Code will always evaluate False because the os.path.isfile function is not called:

if not os.path.isfile:
    sptfile = "notfound"

https://github.com/spacetelescope/calcos/blob/master/calcos/timeline.py#L229