nextstrain / fauna

RethinkDB database to support real-time virus analysis
GNU Affero General Public License v3.0
33 stars 13 forks source link

fauna uploads fail in python 3 unicode error #81

Open lmoncla opened 6 years ago

lmoncla commented 6 years ago

When uploading new fasta files to fauna with python 3, upload.py fails at lines 59, 102, and 148 with: AttributeError: 'str' object has no attribute 'decode'. This does not occur with python 2.

rneher commented 6 years ago

none of nextstrain python is currently python3 conform. We should address that soon though. unicode is the default string in python3 and the decode behavior has changed.