Skip to content

Commit

Permalink
pre-commit auto-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jul 10, 2024
1 parent e9cf4c3 commit 6381722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pymatgen/core/composition.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ def chemical_system(self) -> str:
sorted alphabetically and joined by dashes, by convention for use
in database keys.
"""
return "-".join(sorted(list(self.chemical_system_set)))
return "-".join(sorted(self.chemical_system_set))

@property
def num_atoms(self) -> float:
Expand Down

0 comments on commit 6381722

Please sign in to comment.