-
Notifications
You must be signed in to change notification settings - Fork 39
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
KeyError
when running example configs
#570
Comments
Hey @theo-brown, thanks for raising the issue and identifying the offending commit. You're indeed right that the example configs were broken by one of my recent changes. @jcitrin is putting out a fix. Sorry for the trouble! |
No trouble at all! Exciting to see the development that's gone on. No pressure to fix urgently, I can work from e506f63 and then fast-forward later. |
It might be worth adding a unit test to check that the example configs all run? I can do that if it would be helpful. |
Yes, great idea. We will be doing that :) |
#571 . Thanks for raising! |
Thanks for fixing! |
Problem
I'm not able to run any of the examples in
torax.examples
from the current commit (2b47010).To replicate
Newly cloned repo, Python 3.12, installed with
pip install -e .[dev]
.Running
python run_simulation_main.py --config=torax.examples.basic_config
raises the following errorRunning
python run_simulation_main.py --config=torax.examples.iterhybrid_rampup
orpython run_simulation_main.py --config=torax.examples.iterhybrid_predictor_corrector
raises:The text was updated successfully, but these errors were encountered: