Skip to content

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

Merged
janosh merged 7 commits into
masterfrom
get_string-to-get_str
Aug 9, 2023
Merged

Deprecate get_string() methods in favor of get_str()#3231
janosh merged 7 commits into
masterfrom
get_string-to-get_str

Conversation

@janosh

@janosh janosh commented Aug 8, 2023

Copy link
Copy Markdown
Member

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
janosh added 3 commits August 9, 2023 08:43
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
@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