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.
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.