Commits

erik...@gmail.com  committed 9a1142c

Use Python Universal Read to correctly parse tables generated with biom convert -b

  • Participants
  • Parent commits cb518ba

Comments (0)

Files changed (1)

File lib/SurveyMatrix.py

         Create object from data file.
         File header is sample ids, each row starts with otu id.
         '''
-        f       = open(file,'r')
+        f       = open(file,'rU')
         header  = f.readline()
         cols    = header.strip().split('\t')[1:]
         rows    = []