diff --git a/pyiron_atomistics/sphinx/output_parser.py b/pyiron_atomistics/sphinx/output_parser.py index 5f7a6ba3e..05cd5ad97 100644 --- a/pyiron_atomistics/sphinx/output_parser.py +++ b/pyiron_atomistics/sphinx/output_parser.py @@ -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