Read and write summary tree in binary; this mitigates problems in reading summary tree file on some platforms.

This commit is contained in:
Jeremy Goecks
2011-09-21 12:20:07 -04:00
parent 163c5188ad
commit 249686ed96
+1 -1
View File
@@ -89,5 +89,5 @@ class SummaryTree:
cPickle.dump(self, open(filename, 'wb'), 2)
def summary_tree_from_file(filename):
return cPickle.load(open(filename, "r"))
return cPickle.load(open(filename, "rb"))