Skip to content

Conversation

@nffaruk
Copy link
Contributor

@nffaruk nffaruk commented Apr 4, 2023

There was a spurious argument in the RestartReporter function call for OpenMM minimization causing the error:

TypeError: init() got multiple values for argument 'write_velocities'

Getting rid of the parm.ptr('natom') argument resolves the error and brings the function in line with what is written to the script file (lines 553-554).

@swails
Copy link
Contributor

swails commented Apr 4, 2023

Thanks!

@swails swails merged commit b643d8d into ParmEd:master Apr 4, 2023
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.

2 participants