Skip to content

Commit

Permalink
Format black
Browse files Browse the repository at this point in the history
  • Loading branch information
pyiron-runner committed Nov 28, 2023
1 parent 55d38ef commit a7d507c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions pyiron_atomistics/sphinx/output_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,19 @@ def check_permutation(index_permutation):
if np.any(np.diff(np.sort(indices)) != 1):
raise ValueError("missing entries in the index_permutation")


class SphinxLogParser:
def __init__(self, log_file):
"""
Args:
log_file (str): content of the log files
Args:
log_file (str): content of the log files
Log file should contain the plain text of the log. You can get it for
example via:
Log file should contain the plain text of the log. You can get it for
example via:
>>> with open("sphinx.log", "r") as f:
from pyiron_base import state
>>> log_file = f.read()
>>> with open("sphinx.log", "r") as f:
from pyiron_base import state
>>> log_file = f.read()
"""
self.log_file = log_file
Expand Down

0 comments on commit a7d507c

Please sign in to comment.