Commit 76e90f41 authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Script: Fix pep8.

Showing with 9 additions and 2 deletions
+9 -2
......@@ -34,7 +34,10 @@ class ScriptRun(AScript):
description = "Run solver on Pamhyr2 a study"
def usage(self):
logger.info(f"Usage : {self._args[0]} {self._args[1]} <SOLVER> <STUDY>")
logger.info(
f"Usage : {self._args[0]} {self._args[1]} " +
"<SOLVER> <STUDY>"
)
def run(self):
if len(self._args) < 4:
......@@ -62,7 +65,10 @@ class ScriptRun(AScript):
self._solver = solver
self._study = study
logger.info(f"Run {solver.name} ({solver.type}) on study '{study.name}' ({study_file})")
logger.info(
f"Run {solver.name} ({solver.type}) " +
"on study '{study.name}' ({study_file})"
)
# Workdir
workdir = os.path.join(
......@@ -101,6 +107,7 @@ class ScriptRun(AScript):
return 0
class ScriptExport(ScriptRun):
name = "Export"
description = "Export Pamhyr2 study for solver"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment