-
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
Change unittest to pytest #192
base: dev
Are you sure you want to change the base?
Conversation
Previously, there were two interfaces in the `OptimizationProblem` for calling evaluation functions (e.g. objectives): one for evaluating individuals, and one for populations. To simplify the code base, these two methods were now unified. To ensure backward compatibility, a 1D-Array is returned if a single individual is passed to the function.
Co-authored-by: r.jaepel <[email protected]>
Previously, the cadet path set in Cadet(install_path="path") was not inherited into cadet instances created from the run() method.
Fix and extend tests about .calculate_interstitial_rt/velocity
Previously, this was required because CADET-Core was not setting the PATH correctly. Now, this can lead to inconsistent behaviour. Note, this requires CADET>4.4.0
Recently, the option to (not) plot the time axis using minutes was introduced. This commit fixes some methods that were not properly implemented. Moreover, the name of the flag was changed from `use_minutes` to `x_axis_in_minutes` to make clear that only plotting is affected and not other parameter values (e.g. start and end times).
Co-authored-by: daklauss <[email protected]>
Updates and Fixes plot_at_position by adding start, end and x_axis_in_minutes as parameters in solution.py
7d17307
to
fbc1c10
Compare
This is now handled by CADET-Python
CADET-Core now returns a 1D Vector (instead of a 2D where the second dimension happens to only have one entry).
Adds n_par = 1 and ncol = 1 as test cases in test_cadet_adapter.
fbc1c10
to
7ab2fed
Compare
73f3404
to
3e7f58b
Compare
994a3a7
to
da4976b
Compare
Removed coverage for a later issue #144. Pytest with coverage as i used needs way to long for a simple push (~50%). Considering using it just on merge or action. Pytest alone should work. |
Replace link to default conda with link to mini-forge
This one here could also be marked as CADET-Process/tests/test_cadet_adapter.py Line 157 in ce627e2
|
da4976b
to
2809904
Compare
Done
and removed coverage from dependency. |
pytest.mark.slow
to ignore to complicated tests