-
Notifications
You must be signed in to change notification settings - Fork 3
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
base: main
Are you sure you want to change the base?
ApaxImport node fix #423
Conversation
for more information, see https://pre-commit.ci
@@ -219,6 +219,9 @@ def get_calculator(self, **kwargs) -> ase.calculators.calculator.Calculator: | |||
) | |||
return calc | |||
|
|||
def run(self) -> None: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comment
added missing run function