baliga-lab / cmonkey2

Python port of cMonkey, a machine-learning based method for clustering
GNU Lesser General Public License v3.0
26 stars 16 forks source link

Fixed some incompatibilities with Python 3 #52

Closed uweschmitt closed 8 years ago

uweschmitt commented 8 years ago

In Python 3 the map function returns a map object, not a list, which can not be serialized to json. This triggered exceptions when I run the cmonkey2 web browser. I added list() calls to fix this.

Further I fixed one issue with str / bytes types on Python 3 which triggered some exceptions as well.

weiju commented 8 years ago

Hallo Uwe, thank you so much for reporting and fixing this bug !