-
Notifications
You must be signed in to change notification settings - Fork 3
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
add short run to git submodule #71
Conversation
Cool, this will be very useful for the integration tests :D I think we can leave out the |
@stefsmeets I had to update all the reference values in the integration_test.py , but it seems to work now, is it okay that these values are updated? |
Yeah, I used them to make sure I didn't randomly break something. Now that we have a smaller data set to work with, we can make better, more isolated integration tests. Best would be to cross-check with the |
Checking against the data / plots is troublesome, well, some plots look similar, but some plots don't, and all the values are different as well 😓 . So I cannot be certain that these changes are correct, but the matlab code run in octave is also very buggy on my end, so perhaps I am not the best person to update these values. |
I'm merging #76, because we need the supercell fix to correctly calculate jumps. |
I checked all the numbers and it mostly correlates with the results from the matlab code. I also verified that all the plots look the same / similar. The only difference we get is in |
@v1kko Does it make sense to just extract the trajectory coordinates and the structure along with some metadata (temperature, time_step), and load the This could be a small step towards a generic trajectory class, as in #67. We could store the |
@stefsmeets it does make sense to eventually base the tests on a Trajectory Class. I think that we should still have tests to convert a Then after we merge the Trajectory class into pymatgen, we could drop those tests I guess, as the tests will be in pymatgen Currently the |
We can remove the |
We should move the |
I will create a separate branch with the |
I found the bug with Lines 111 to 112 in 58ecff7
|
From my point of view this PR is ready to be merged. Once pymatgen gets updated we should re-run the tests and see if they pass. We can do the refactoring in a follow-up PR. |
We can update the dependency to |
The downside is that this will require some compilation of pymatgen extensions on the CI. |
I think we cache the environment with every pyproject.toml update so only one compilation needed, I will try it out |
We have a bug in Github Action caching, lets fix that as well:
|
Depends on #76
Todo
e_act
test_jumps
,test_transitions_matrix
,test_all_transition
importlib.resources.files
Use a separate branch instead, which we can later throw away