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

Ensure method signature matches when overriding as_json #5536

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

cjcolvar
Copy link
Member

Fixes as issue where calling structuralMetadata.to_json was erroring because it was passing options to as_json but as_json wasn't accepting any. This PR ensures the method signatures match (and subsequently disregards the passed params).

masaball
masaball previously approved these changes Dec 15, 2023
@cjcolvar cjcolvar merged commit 6480ea5 into develop Dec 20, 2023
@cjcolvar cjcolvar deleted the super_params branch December 20, 2023 18:26
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