Hi guys thanks for all the work on the amazing tools.
I wanted to report a bug I encountered in Hydra's writeMetadataFile function, I guess the problem was something related to the encodings of ascii characters or something like that.
This function works:
def writeMetadataFile(fileName, repoTargetFolder, metaDataDict):
jsonFilePath = repoTargetFolder + '\\' + 'input.json'
try:
with open(jsonFilePath, "w") as outfile:
json.dump(metaDataDict, outfile, ensure_ascii=False)
except:
print("Oops!",sys.exc_info()[0],"occured.")
return jsonFilePath
Hi guys thanks for all the work on the amazing tools.
I wanted to report a bug I encountered in Hydra's
writeMetadataFilefunction, I guess the problem was something related to the encodings of ascii characters or something like that.This function works: