Skip to content

Commit c066428

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 367c3d1 commit c066428

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pyiron_atomistics/atomistics/job/potentials.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,9 @@ def read_csv(path):
146146
index_col=0,
147147
converters={
148148
"Species": lambda x: x.replace("'", "").strip("[]").split(", "),
149-
"Config": lambda x: x.replace("'", "")
150-
.replace("\\n", "\n")
151-
.strip("[]")
152-
.split(", "),
149+
"Config": lambda x: (
150+
x.replace("'", "").replace("\\n", "\n").strip("[]").split(", ")
151+
),
153152
"Filename": lambda x: x.replace("'", "").strip("[]").split(", "),
154153
},
155154
)

0 commit comments

Comments
 (0)