Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Mar 26, 2024
1 parent 3813f25 commit 4db62d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matminer/featurizers/structure/bonding.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def _species_from_bondstr(self, bondstr):
try:
species.append(Specie.from_str(ss))
# pymatgen deprecated from_string in favour of from_str, if it is missing then fallback to from_dict
except (ValueError, AttributeError):
except (ValueError, AttributeError):
d = {"element": ss, "oxidation_state": 0}
species.append(Specie.from_dict(d))
return tuple(species)
Expand Down

0 comments on commit 4db62d7

Please sign in to comment.