Closed wehs7661 closed 2 years ago
Hi @wehs7661 , thanks for reporting this. I think this was fixed recently in master, but not yet released. I can't replicate it with the current master version. Could you install the latest development version (you can use pip install git+https://github.com/shirtsgroup/physical-validation.git
as described here https://physical-validation.readthedocs.io/en/latest/userguide.html#development-version), and confirm that the problem doesn't arise there?
(Note that the rotational kinetic energy seems to be very off in this case, so the plot that I get from the latest version is not very useful either, but it doesn't crash. I'm not sure off-hand how we could improve that plot, but that's a separate question anyway.)
Okay yes, the current version in master solves the problem! I'll close the issue since it has been solved. Thanks!
I was using the package to test the physical validity of a system composed of four vdW sites. The simulation was a 1D metadynamics only biasing the torsion 1-2-3-4. One special thing about the system is that I fixed the lambda state at a fully uncoupled state (state 19 as can be seen in the attached mdp file). The code (
check_validity.py
) I was using is as follows:As a result, I got the following error upon the execution of the command
python check_validity.py
, which seemed that the package failed to plot the histogram for the rotational D.O.F. (The output files corresponding to the total, tra, and rni D.O.F. were still generated before hitting the error.)Here I share the input files for the code: https://drive.google.com/file/d/1SFxH1pL_3TjC3RyCn5EZcZcb8rYpaRKp/view?usp=sharing Note that in the
.top
and.trr
file, the water molecules have been stripped off.The problem does not happen if the system is fixed at the fully coupled state. Apparently, this is an edge case that fails the equipartition function. I'll look into the problem in the future when I have time, but it would be helpful if someone knows what was probably happening.