Eureka
Eureka copied to clipboard
[Bug]: Setting CorrectDrift to False causes wfc.py in Stage 4 to crash
FAQ check
- [X] Yes, I checked the FAQ and my question has not been addressed.
Instrument
Other (any stage)
What happened?
Because lc.driftmask isn't created when correctDrift is set to False, an error is raised stating lc.driftmask doesnt exist. To resolve this, please change line 82 in wfc3.py of Stage 4 from:
lc.driftmask['time'] = time
to
if meta.correctDrift:
lc.driftmask['time'] = time
Which seems to resolve the issue.
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
- [X] I agree to follow this project's Code of Conduct