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

Fix TypeError and AttributeError in is_ase_optimizer() #19

Merged
merged 3 commits into from
Feb 19, 2024

Conversation

janosh
Copy link
Collaborator

@janosh janosh commented Feb 19, 2024

example failure cases:

  • attribute name must be string: is_ase_optimizer(ase.Calculator)
  • module 'ase.optimize' has no attribute 'whatever': is_ase_optimizer("whatever")

- attribute name must be string
- module 'ase.optimize' has no attribute 'whatever'
@janosh janosh added fix Bug fix ase Atomic simulation environment labels Feb 19, 2024
@janosh janosh merged commit b507e3a into main Feb 19, 2024
2 checks passed
@janosh janosh deleted the fix-is-ase-optim branch February 19, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ase Atomic simulation environment fix Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant