You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to load simulation results from netcdf files generated with openmmtools<=0.21.2 we encounter that the velocities are not present, since they were added in 0.21.3. This results in an error when deserializing as follows
openmmtools.multistate.multistatesampler.MultiStateSampler._throw_restoration_error.<locals>.RestorationError: Attempting to restore from any checkpoint failed. Either your data is fully corrupted or something has gone very wrong to see this message. Please open an issue on the GitHub issue tracker if you see this!
We should be able to read older serialized .nc files with up to date versions of openmmtools. We could just try catching the KeyError exception when attempting to restore the velocities here.
The text was updated successfully, but these errors were encountered:
When trying to load simulation results from netcdf files generated with
openmmtools<=0.21.2
we encounter that the velocities are not present, since they were added in 0.21.3. This results in an error when deserializing as followsWe should be able to read older serialized
.nc
files with up to date versions ofopenmmtools
. We could just try catching theKeyError
exception when attempting to restore the velocities here.The text was updated successfully, but these errors were encountered: