Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running example python scripts gives TypeError #47

Open
rodvrees opened this issue Feb 27, 2025 · 3 comments
Open

Running example python scripts gives TypeError #47

rodvrees opened this issue Feb 27, 2025 · 3 comments

Comments

@rodvrees
Copy link

Hi,

I'm trying out isicle for the first time, and am having trouble running the examples. I installed the package according to the readthedocs.
Running both example scripts gives me the same error:

Traceback (most recent call last):
File "/home/robbe/isicle/examples/nmr_chemical_shifts.py", line 10, in
md_result = geom.md(program='xtb',
^^^^^^^^^^^^^^^^^^^^^^
File "/home/robbe/isicle/isicle/geometry.py", line 672, in md
return isicle.md.md(self, program=program, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/robbe/isicle/isicle/md.py", line 65, in md
return _backend_selector(backend).run(geom, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/robbe/isicle/isicle/md.py", line 536, in run
self.configure(**kwargs)
TypeError: XTBWrapper.configure() got an unexpected keyword argument 'program'

Any ideas as to how to fix this?
Thanks!

@rodvrees
Copy link
Author

This is both with python 3.10 and python 3.12

@jessbade
Copy link
Collaborator

Hi rodvrees,

Thank you for your interest in ISiCLE! I have updated the examples/nmr_chemical_shift.py file to reflect the latest changes in the codebase. Please reach out if you continue to experience issues running ISiCLE.

@rodvrees
Copy link
Author

Would it be possible to also update the collisional_cross_section example script?

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

No branches or pull requests

2 participants