data-team-uhn / NeuralCR

MIT License
26 stars 12 forks source link

Change input encoding and add HPO description to output #1

Closed mh11 closed 5 years ago

mh11 commented 5 years ago

The loading of the input file resulted in the error and resolved by setting UTF-8 encoding:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 57: ordinal not in range(128)

The output did not include the HPO names, which were added at the end

263     271     HP:0012072      0.88584137      Aciduria
294     317     HP:0025356      0.99174535      Psychomotor retardation
319     336     HP:0001999      0.8883195       Abnormal facial shape

Hope that helps

a-arbabi commented 5 years ago

Thanks for the fix.