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

PBstat does not generate weblogo anymore #152

Closed pierrepo closed 7 years ago

pierrepo commented 7 years ago

When the WebLogo Python lib is installed, PBstat generates empty ouput files with the --logo option.

This is the same of all image formats (pdf, jpg and png).

pierrepo commented 7 years ago

@HubLot could you have a look?

HubLot commented 7 years ago

I don't have this issue. Can you precise the version of packages used and python version ?

pierrepo commented 7 years ago

Python 3.5.2 weblogolib 3.5.0 matplotlib 1.5.3 Last version of PBxplore on the master branch

HubLot commented 7 years ago

Thanks. The file is empty (size of 0) or unreadable ?

pierrepo commented 7 years ago

The file is built, not empty (I believe it's the correct size) but is unreadable. I tried all possible formats (png, jpg and pdf). Always unreadable.

HubLot commented 7 years ago

Indeed, I have this issue with Python 3 but not Python 2...

HubLot commented 7 years ago

It's due to encoding.

HubLot commented 7 years ago

closed in #153