-
Notifications
You must be signed in to change notification settings - Fork 13
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
Checked if the recodings are empty #460
Conversation
…n all tests in WSL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Please add a quick test to tests/
that checks whether this indeed raises an error. E.g.
comp = jx.Compartment()
with pytest.raises(ValueError):
v = jx.integrate(comp, delta_t=0.025, t_max=10.0)
Test is implemented. |
Thanks! But the test is not a Python file. Please add the test to |
Tests are not passing. You probably did not run |
I only ran the specific test since all tests would take an hour to run. I will do it tomorrow, sorry! |
Thanks again! Could you delete the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great now, thanks a ton! I will merge once tests have passed.
* Checked if the recodings are empty, if so raise an error. --------- Co-authored-by: deezer257 <florian@Florian>
I inserted a check if the recording DataFrame is empty, if so I raised an value error. Nevertheless, I use a WSL and at some point the tests got stuck, at about 80% of completion, and the WSL lost connection.
Closes #365