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

Make from_(str|file) (static->class)methods #3429

Merged
merged 4 commits into from
Oct 27, 2023

Conversation

janosh
Copy link
Member

@janosh janosh commented Oct 27, 2023

They should have been @classmethods to begin with.

@janosh janosh added the linting Linting and quality assurance label Oct 27, 2023
@janosh janosh enabled auto-merge (squash) October 27, 2023 16:50
self._all_comp = reactants + products
E       TypeError: unsupported operand type(s) for +: 'dict' and 'dict'

tests\analysis\test_reaction_calculator.py:156:
@janosh janosh changed the title Make from_str (static->class)methods Make from_(str|file) (static->class)methods Oct 27, 2023
@janosh janosh changed the title Make from_(str|file) (static->class)methods Make from_(str|file) (static->class)methods Oct 27, 2023
@janosh janosh merged commit 9ae6121 into master Oct 27, 2023
21 checks passed
@janosh janosh deleted the from-str-static-to-classmethod branch October 27, 2023 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linting Linting and quality assurance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant