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

Deprecate get_string() methods in favor of get_str() #3231

Merged
merged 7 commits into from
Aug 9, 2023

Conversation

janosh
Copy link
Member

@janosh janosh commented Aug 8, 2023

Closes #3230.

e703c43 restore accidentally deleted io.core.InputFile.from_string (fixes #3230)
2b52712 add io.core type hints
ded8574 deprecate get_string methods in favor of get_str

@janosh janosh added fix Bug fix PRs api Application programming interface deprecation Code deprecations labels Aug 8, 2023
causing numpy\lib\utils.py:153: in __call__
    old_name = func.__name__
E   AttributeError: 'classmethod' object has no attribute '__name__'
… in fields[f + 1].split()])

E   ValueError: could not convert string to float: '.'
@janosh janosh merged commit e781ac8 into master Aug 9, 2023
28 of 29 checks passed
@janosh janosh deleted the get_string-to-get_str branch August 9, 2023 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Application programming interface deprecation Code deprecations fix Bug fix PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API inconsistency in pymatgen.core.io
1 participant