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

ForceConstantsData: add filename and **kwargs to constructor #599

Merged
merged 1 commit into from Oct 26, 2020

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Oct 26, 2020

Fixes #598

The constructor signature of the SinglefileData class, which is the
base class of the ForceConstantsData, was updated sometime ago in
aiida-core to include the filename and **kwargs arguments. These
are now added, because in aiida-core==2.0.0 having a different
constructor will start to raise.

The constructor signature of the `SinglefileData` class, which is the
base class of the `ForceConstantsData`, was updated sometime ago in
`aiida-core` to include the `filename` and `**kwargs` arguments. These
are now added, because in `aiida-core==2.0.0` having a different
constructor will start to raise.
@sphuber sphuber requested a review from mbercx October 26, 2020 13:45
Copy link
Member

@mbercx mbercx left a comment

Choose a reason for hiding this comment

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

I haven't tested this, but it looks good to me.

@sphuber sphuber merged commit 6d4c706 into develop Oct 26, 2020
@sphuber sphuber deleted the fix/598/force-constants-data-constructor branch October 26, 2020 13:53
sphuber added a commit that referenced this pull request Nov 17, 2020
)

The constructor signature of the `SinglefileData` class, which is the
base class of the `ForceConstantsData`, was updated sometime ago in
`aiida-core` to include the `filename` and `**kwargs` arguments. These
are now added, because in `aiida-core==2.0.0` having a different
constructor will start to raise.
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.

ForceConstantsData: add filename argument to constructor
2 participants