-
Notifications
You must be signed in to change notification settings - Fork 5
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
SLTS Demo Throws Error from Polars Code Writing Results #96
Comments
I'm using altrios version 0.2.3. I set it up last week in a new conda environment running python 3.10. Polars version '0.20.25'. Do we need to update our requirements.txt? Polars is at version 1.10.0 now. |
I'll look into this... it's probably time to update the requirements.txt, but I'll need to do a scan through the codebase and update some Polars usage. The Polars API is considered stable now that it's past v1.0, but there were some breaking changes from 0.20 to 1.0. |
@SWRIganderson to confirm, this is on main? |
This is main. I have played around with this a bit more this morning. I was able to create the dataframe if I manually executed the code under the if statement. ENABLE_REF_OVERIDE is false. ENABLE_ASSERTS is true. That is why the error is occuring. Not the polars versions. |
@mbbruch I was in between meetings earlier and couldn't type much. The two variables that I mentioned in my previous comment. Do those get set on the altrios install? I really feel like that example should work without errors straight out of the box without having to set environment variables. Is this being caused by me installing it for the development path? This is not an urgent problem. I just wanted to make sure you were aware so that we can have a good set of clean examples. |
@SWRIganderson can you post the |
@mbbruch and @SWRIganderson , we very intentionally do not have a requirements.txt because that's all handled in pyproject.toml. If you modified the demo file, that might well have altered |
@SWRIganderson, troubleshooting steps in no particular order:
|
@mbbruch I'm sure this is something simple, but the SLTS example throws an error when its checking if the results were written. This is with the SLTS demo almost unchanged. I added one line of code to save the simulation to json. I would expect this to have no bearing on this error. Hopefully this is something pretty easy to fix, but I am no polars expert yet.
The text was updated successfully, but these errors were encountered: