From 63817224be2bade36df8455de26bc905fb6ece8c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 07:55:10 +0000 Subject: [PATCH] pre-commit auto-fixes --- src/pymatgen/core/composition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pymatgen/core/composition.py b/src/pymatgen/core/composition.py index 5700873d19b..9d889d83780 100644 --- a/src/pymatgen/core/composition.py +++ b/src/pymatgen/core/composition.py @@ -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: