Closed zacharyrs closed 3 years ago
This was a strange one - I couldn't replicate it on Mac on Python 3.8, or Ubuntu on Python 3.6, but I did replicate it on Ubuntu on Python 3.8. Not sure what was happening there.
In any case I think I've fixed the issue now - it will now only try to decode if it's a bytestring.
Expected behaviour
Should read the
6lu7.mmtf
file and return aatomium.data.File
instance.Actual behaviour
Crashes within
decode_dict
.I think the
.decode()
call is unnecessary.Example code to reproduce
Python Version/Operating System
Python 3.8.6 in a venv, on Ubuntu 20.04.1.