-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: bad operand type for unary ~: 'NoneType' #466
Comments
I have gotten that Stage 6 error before, but I'm pretty sure I fixed that with a patch to Eureka a little while ago. I do see that you're using v0.4 of Eureka, so updating to the latest v0.5 might help resolve that issue. As for your question about running just Stage 6 alone, if you edit your run_eureka.py file you can just comment out any stages that you don't want to run (and you'll need to remove the s5_meta argument to the Stage 6 function if it is there in your run_eureka.py file). |
I updated to v0.5 but still got that error. However, when I ran stage 6 alone that error does not come up |
Oh right, so that isn't actually an error (Stage 6 should've run to completion successfully), but somehow an xarray save file gets closed and then something else tries to close the already closed file. I wouldn't be too worried about it if the code does run successfully when that message is displayed, but I'll keep this open for now until we figure out what's causing this (it may well not be our code, but one of our dependencies' code) |
Alright sounds good. Thanks for your help! |
Instrument
Light curve fitting (Stages 4-6)
What happened?
Getting this error once I get to the stage 6 in the quickstart demos. I was also curious if there is a way to start directly at stage 6 with the S5 data from a previous run.
Error traceback output
What operating system are you using?
macOS 12.5.1 Monterey
What version of Python are you running?
Python 3.9.12
What Python packages do you have installed?
Code of Conduct
The text was updated successfully, but these errors were encountered: