Carlos-Francisco Méndez-Cruz

Transform soft file in XML file

...@@ -96,7 +96,7 @@ if __name__ == "__main__": ...@@ -96,7 +96,7 @@ if __name__ == "__main__":
96 print("hashGcs[serie][sample][tag]: {}".format(hashGcs[serie][sample][tag])) 96 print("hashGcs[serie][sample][tag]: {}".format(hashGcs[serie][sample][tag]))
97 else: 97 else:
98 hashGcs[serie][sample][tag] = [content] 98 hashGcs[serie][sample][tag] = [content]
99 - print("New tag: {} and content: {}".format(tag, content.encode(encoding='utf-8', errors='replace'))) 99 + #print("New tag: {} and content: {}".format(tag, content.encode(encoding='utf-8', errors='replace')))
100 # print(hashGcs) 100 # print(hashGcs)
101 tags = ["Technique", "Orgn", "Strain", "Substrain", "Gversion", "Gtype", "Phase", "Phase", "Air", "Med", "Temp", "Supp"] 101 tags = ["Technique", "Orgn", "Strain", "Substrain", "Gversion", "Gtype", "Phase", "Phase", "Air", "Med", "Temp", "Supp"]
102 #with open(os.path.join(options.outputPath, f.replace(".xml", ".report.csv")), "w", encoding="utf-8") as oFile: 102 #with open(os.path.join(options.outputPath, f.replace(".xml", ".report.csv")), "w", encoding="utf-8") as oFile:
......