pierrepo / PBxplore

A suite of tools to explore protein structures with Protein Blocks :snake:
https://pbxplore.readthedocs.org/en/latest/
MIT License
28 stars 17 forks source link

Fix encoding issue with weblogo file (#152) #153

Closed HubLot closed 7 years ago

HubLot commented 7 years ago

Weblogo functions returns binary data for the logo which have to be writen to a file.

Since Python 2 and Python 3 handles differently binary data, I had to re-write a little bit how we write the weblogo data into a file. Mainly, we have to open the output file as a binary and use the write function of the descriptor.

pierrepo commented 7 years ago

Thanks @HubLot