"platforms/vscode:/vscode.git/clone" did not exist on "deebf49399bcb1c7f01ca7a8144e42222be6fc36"
Rewrite Amber inpcrd/restart file handling. Among the improvements:
- existence of velocities and box vectors is auto-detected, so
loadVelocities and loadBoxVectors are unnecessary
- recognizes NetCDF-format Amber restart files (which can be written by
tleap, sander, pmemd, and cpptraj).
- Restart files coordinate/velocity/box fields have a hard width of 12
characters and does not ensure that fields are whitespace delimited. This
commit will correctly parse (valid) Amber restart files in which a
particular coordinate is <= -100 A or >= 1000 A (not uncommon for restart
files from sander/pmemd).
- File format (ASCII vs. NetCDF) is auto-detected.
I deprecated the loadVelocities and loadBoxVectors arguments, since the behavior
does not change (and is correct) whether these variables are set or not. A
DeprecationWarning is emitted if users specify these variables.
Showing
Please register or sign in to comment