Commit 81f15208 authored by Theophile Terraz's avatar Theophile Terraz
Browse files

debug

No related merge requests found
Showing with 5 additions and 6 deletions
+5 -6
...@@ -173,9 +173,9 @@ class AdisTS(CommandLineSolver): ...@@ -173,9 +173,9 @@ class AdisTS(CommandLineSolver):
name = "" name = ""
return f"{name}" return f"{name}"
################################ #################################
# Adis-TS in low coupling mode # # Adis-TS in weak coupling mode #
################################ #################################
class AdisTSlc(AdisTS): class AdisTSlc(AdisTS):
...@@ -217,7 +217,6 @@ class AdisTSlc(AdisTS): ...@@ -217,7 +217,6 @@ class AdisTSlc(AdisTS):
name = pollutant.name name = pollutant.name
with adists_file_open(os.path.join(repertory, f"{name}.POL"), "w+") as f: with adists_file_open(os.path.join(repertory, f"{name}.POL"), "w+") as f:
files.append(f"{name}.POL") files.append(f"{name}.POL")
f.write(f"*Polluant A contaminé aux PCB\n")
f.write(f"name = {name}\n") f.write(f"name = {name}\n")
self._export_POL_Characteristics(study, pollutant._data, f, qlog) self._export_POL_Characteristics(study, pollutant._data, f, qlog)
...@@ -296,7 +295,7 @@ class AdisTSlc(AdisTS): ...@@ -296,7 +295,7 @@ class AdisTSlc(AdisTS):
with adists_file_open(os.path.join(repertory, f"{POL_name}.INI"), "w+") as f: with adists_file_open(os.path.join(repertory, f"{POL_name}.INI"), "w+") as f:
f.write(f"*État initial pour le polluant {POL_name}\n") f.write(f"*État initial pour le polluant {POL_name}\n")
f.write(f"{POL_IC_default.name} = {POL_IC_default.concentration} {POL_IC_default.eg} "+ f.write(f"DEFAULT = {POL_IC_default.concentration} {POL_IC_default.eg} "+
f"{POL_IC_default.em} {POL_IC_default.ed}\n") f"{POL_IC_default.em} {POL_IC_default.ed}\n")
if len(POL_IC_default._data) != 0: if len(POL_IC_default._data) != 0:
...@@ -332,7 +331,7 @@ class AdisTSlc(AdisTS): ...@@ -332,7 +331,7 @@ class AdisTSlc(AdisTS):
d90AdisTS = study.river.d90_adists.D90_AdisTS_List d90AdisTS = study.river.d90_adists.D90_AdisTS_List
f.write(f"{d90AdisTS[0].name} = {d90AdisTS[0].d90}\n") f.write(f"DEFAULT = {d90AdisTS[0].d90}\n")
self._export_d90_spec(study, d90AdisTS[0]._data, f, qlog) self._export_d90_spec(study, d90AdisTS[0]._data, f, qlog)
......
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