Skip to content

Commit

Permalink
codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaseda committed Nov 28, 2023
1 parent 05b311d commit 7fc647f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_atomistics/sphinx/output_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def collect_relaxed_hist(file_name="relaxHist.sx", cwd=None, index_permutation=N
cwd = "."
with open(file_name, "r") as f:
file_content = "".join(f.readlines())
n_steps = len(re.findall("// --- step \d", file__content, re.MULTILINE))
n_steps = len(re.findall("// --- step \d", file_content, re.MULTILINE))
f_v = ",".join(3 * [r"\s*([\d.-]+)"])

def get_value(term, f=file_content, n=n_steps, p=index_permutation):
Expand Down

0 comments on commit 7fc647f

Please sign in to comment.