diff --git a/Model/udt_extract/raw_extract.py b/Model/udt_extract/raw_extract.py index e0aae8a..81d4af5 100644 --- a/Model/udt_extract/raw_extract.py +++ b/Model/udt_extract/raw_extract.py @@ -43,7 +43,7 @@ def raw_extract(_raw_file): while 1: flag, size, data = fileraw.read_chunk() - # Pour raw UDT005 (ie. UB-Lab P, UB-SediFlow, UB-Lab 3C) on peut + # Pour raw UDT005 (ie. UB-Lab P, UB-SediFlow, UB-Lab 3C) on peut # rencontrer 4 flags: const, settings json, configs (HW), profils if flag == CONST_TAG: try: @@ -55,7 +55,6 @@ def raw_extract(_raw_file): .replace("True", "true") .replace("False", "false") ) - print("const: %s" % const_dict) ubt_data = ubt_raw_data( const_dict ) @@ -70,12 +69,9 @@ def raw_extract(_raw_file): .replace("True", "true") .replace("False", "false") ) - print("settings: %s" % settings_dict) ubt_data.set_config(settings_dict) - print("ubt_data.set_config(settings_dict) : ", ubt_data.set_config(settings_dict)) - if flag == CONFIG_TAG: # what is needed from here and which is not in param_us_dict is only blind_ca0 and blind_ca1 # note: this is not useful on APF06, but could be used for double check @@ -100,7 +96,7 @@ def raw_extract(_raw_file): #print("%d profiles read" % profile_id) # last timestamp of udt file for time_end definition of run: - # based on the last profile processed + # based on the last profile processed time_end = timestamp return ( @@ -111,4 +107,4 @@ def raw_extract(_raw_file): ubt_data.data_us_dicts, ubt_data.data_dicts, settings_dict, - ) \ No newline at end of file + )