Skip to content

TypeError running example #3

@krl52

Description

@krl52

Hello,
I am working on trying to install the code and run the GCMC example scripts for argon and NH3-Pt. I am experiencing the following issue:

Traceback (most recent call last):
File "ASE-MC_ESI-main/examples/gcmc/argon/asemc/run.
py", line 84, in ‹module> dyn. run ( 10000)
File "/opt/homebrew/Caskroom/mambaforge/base/lib/python3.10/site-package
s/ase/mc/mc.py", line 197,
in run
return Dynamics. run (self)
File "/opt/homebrew/Caskroom/mambaforge/base/lib/python3.10/site-package
s/ase/optimize/optimize.py", line 286, in run
for converged in Dynamics. irun (self, steps=steps) :
File "/opt/homebrew/Caskroom/mambaforge/base/lib/python3.10/site-package
s/ase/optimize/optimize.py", line 249, in irun
is_converged = self. converged (gradient)
TypeError: MonteCarlo.converged() takes 1 positional argument but 2 were g
iven

I have tried to look at the source code that is referenced above, but I am unclear on why this is an issue. Could you offer some suggestions to resolve the issue?
Thanks very much in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions