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

Use classmethod decorators on Material class #45

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

paulromano
Copy link
Contributor

The from_* methods on the Material class should be marked with @classmethod and given cls as the first argument to make them proper classmethods.

@shimwell
Copy link
Member

shimwell commented Oct 1, 2024

nice to see you on this corner of the internet Paul.

Thanks for the fix

I shall get this merged in and an update released

You know I'm still keen to finish of this PR to OpenMC which would mainly replace this package.

@shimwell shimwell merged commit 6275ded into fusion-energy:main Oct 1, 2024
1 check passed
@paulromano paulromano deleted the classmethod-fixes branch October 5, 2024 03:02
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