Skip to content

Commit

Permalink
python2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
pskeshu committed Jul 27, 2017
1 parent 30987fb commit 9562a4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions microscoper/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def get_channel(filename, channel):
name for a certain int channel.
"""
meta = bioformats.get_omexml_metadata(filename)
meta.encode("utf8") # Python2 support
o = bioformats.omexml.OMEXML(meta)

try:
Expand Down

0 comments on commit 9562a4a

Please sign in to comment.