Fast fix
This commit is contained in:
parent
fad1fbf67f
commit
a8b80428a0
1
run.py
1
run.py
@ -28,6 +28,7 @@ def main():
|
||||
tasks = createTasks()
|
||||
|
||||
for task in tasks:
|
||||
logger.fancyline()
|
||||
logger.info(f"""main:
|
||||
task:\t{tasks.index(task) + 1} / {len(tasks)}
|
||||
cpu count:\t{os.cpu_count()}
|
||||
|
@ -119,6 +119,6 @@ def simpleFoam(case: str = None):
|
||||
with open("simpleFoam.log", "r") as io:
|
||||
for line in io:
|
||||
if re.search("solution converged", line):
|
||||
logger.info("simpleFoam:\n\t{}".format(line))
|
||||
logger.info("simpleFoam:\n\t{}".format(line.strip()))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user