kevin218 / Eureka

Eureka! is a data reduction and analysis pipeline intended for time-series observations with JWST.
https://eurekadocs.readthedocs.io/
MIT License
60 stars 47 forks source link

[Bug]: S3 crashes when bg_deg = None #456

Closed trappist1i closed 2 years ago

trappist1i commented 2 years ago

FAQ check

Instrument

NIRSpec (Stages 1-3)

What happened?

The online documentation mentions that the user can set bg_deg to 'None' to do not remove the background in S3. When trying it, S3 crashes with the following error: TypeError: '<' not supported between instances of 'NoneType' and 'int'.

Error traceback output

No response

What operating system are you using?

No response

What version of Python are you running?

No response

What Python packages do you have installed?

No response

Code of Conduct

taylorbell57 commented 2 years ago

Ah yes, good point - I knew that was broken a while ago but had since forgotten. I'll try to fix that shortly

taylorbell57 commented 2 years ago

In the future, it'd be helpful if you copy-pasted the full error message traceback into your issue so I can more quickly isolate the location of the bug.