Skip to content

ApaxImport node fix #423

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

ApaxImport node fix #423

wants to merge 3 commits into from

Conversation

Tetracarbonylnickel
Copy link
Contributor

added missing run function

@Tetracarbonylnickel Tetracarbonylnickel changed the title added run function ApaxImport node fix Apr 28, 2025
@@ -219,6 +219,9 @@ def get_calculator(self, **kwargs) -> ase.calculators.calculator.Calculator:
)
return calc

def run(self) -> None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this required? it seems to have worked before. It might be desirable to turn this into a dataclass

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would work if we don't use the state of the zntrack.Node from which we inherit. I think zntrack.Node implemented the run method in the past but now it gives an 'run method not implemented' error. I think this is an okish fix for now and can be reversed at the upcoming coding day.

Copy link
Contributor

@M-R-Schaefer M-R-Schaefer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment

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