Skip to content

Match tleap by ensuring parm{10|99|15}.dat are loaded no more than once#1353

Merged
swails merged 1 commit into
ParmEd:masterfrom
murfalo:bugfix_skip_parms
Jun 24, 2024
Merged

Match tleap by ensuring parm{10|99|15}.dat are loaded no more than once#1353
swails merged 1 commit into
ParmEd:masterfrom
murfalo:bugfix_skip_parms

Conversation

@murfalo

@murfalo murfalo commented Jun 6, 2024

Copy link
Copy Markdown
Contributor

Fixes #1352

"parm10.dat": False,
"parm99.dat": False,
"parm15": False,
}

Copy link
Copy Markdown
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?

@murfalo murfalo Jun 6, 2024

Copy link
Copy Markdown
Contributor Author

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