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

+4 -1
View File
@@ -429,7 +429,10 @@ class AdisTSwc(AdisTS):
list_characteristics = ["type", "diametre", "rho", "porosity",
"cdc_riv", "cdc_cas", "apd", "ac", "bc"]
if len(list_characteristics) == (len(pol_data[0])-1):
print("pol_data:")
print(pol_data[0])
if len(list_characteristics) <= (len(pol_data[0])):
for i in range(len(list_characteristics)):
f.write(f"{list_characteristics[i]} = {pol_data[0][i]}\n")