diff --git a/src/python/run_correctxml.py b/src/python/run_correctxml.py index 60754f2a5415a1ba105e6aef10d95695c8cd0844..45543847c34d783fb8792afb882c159f7a69ed5a 100644 --- a/src/python/run_correctxml.py +++ b/src/python/run_correctxml.py @@ -44,12 +44,12 @@ for infile in files_proc: if infile_aux not in list_proc: list_proc.append(infile_aux) d1 = defc.Document(infile_aux, folder_database) - #try : - d1.correct_xml(flag_plots = 0, flag_parallel = 0, flag_save_figs = 0, name_outxml = name_tar_file, + try : + d1.correct_xml(flag_plots = 0, flag_parallel = 0, flag_save_figs = 0, name_outxml = name_tar_file, name_outcorrxml = name_tar_out) #print('Corrected %s' % infile) - #except: - # print("File to correct %s prompted an error" % infile) + except: + print("File to correct %s prompted an error" % infile) # Commands to get the compressed version of the file #data/AB/${year}/02_extractedxml.tar.gz