MAJA
MAJA copied to clipboard
Error in process_one_file function (convert_to_exo.py file)
I put in place MAJA and I got an error during writing of HDR CAMS data. I run with python 3.7, I modified the script with this solution (add .decode("utf-8") instead of encoding="UTF-8"))
ERROR : line 281, in process_one_file f.write(ET.tostring(tree, pretty_print=True, xml_declaration=True,encoding="UTF-8")) TypeError: write() argument must be str, not bytes