Skip to content

Conversation

@murfalo
Copy link
Contributor

@murfalo murfalo commented Jun 6, 2024

Fixes #1352

"parm10.dat": False,
"parm99.dat": False,
"parm15": False,
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we do this with every file?

Copy link
Contributor Author

@murfalo murfalo Jun 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the Amber source code, it seems like all files other than parm10.dat, parm99.dat, and those with names starting with "parm15" will be reloaded when loaded more than once. I think it would be safest to match Amber, in case any of its distributed leaprcs rely on that behavior.

@swails swails merged commit b1c50b5 into ParmEd:master Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Loading multiple leaprcs can lead to incorrect parameters due to repeat loading of parm99.dat, parm10.dat, and/or parm15.dat

2 participants