debug Adis-TS

This commit is contained in:
Theophile Terraz committed 2025-01-16 15:03:52 +01:00
1 parent 2e2f054a4f
commit 230712c3ea
4 files changed
+8 -5

No files matched your search

+2 -2
View File
@@ -128,7 +128,7 @@ class Pollutants(SQLSubModel):
if table is not None:
for t in table:
new_data = t[1:]
new_data = t[1:-1]
new_pollutant._data.append(new_data)
@@ -182,7 +182,7 @@ class Pollutants(SQLSubModel):
print("from_data before : ", data)
try:
new = [int(data[0])]
new += [float(d) for d in data[1:-1]]
new += [float(d) for d in data[1:]]
except Exception as e:
logger.error(e)
new = None
+1 -1
View File
@@ -46,7 +46,7 @@ class Results(object):
el.split("/")[-1][0:-4]
for el in glob.glob(repertory_results + "/*.bin")
]
mylist.insert(0, mylist.pop(mylist.index("total_sediment")))
self._pollutants_list.insert(0, self._pollutants_list.pop(self._pollutants_list.index("total_sediment")))
self._phys_var_list = ["C", "G", "M", "D", "L", "N", "R"]