diff --git a/sbmy_control/low_level.py b/sbmy_control/low_level.py index 5a32cdd..b5382c0 100644 --- a/sbmy_control/low_level.py +++ b/sbmy_control/low_level.py @@ -219,9 +219,9 @@ def get_progress_from_logfile(filename): with open(filename, "r") as f: lines = f.readlines() for line in lines: - if " operation " in line: + if "Step " in line: try: - splitted_line = line.split(" operation ")[1] + splitted_line = line.split("Step ")[1] splitted_line = splitted_line.split(":")[0] current_operation = int(splitted_line.split("/")[0]) total_operations = int(splitted_line.split("/")[1])