mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Read and write summary tree in binary; this mitigates problems in reading summary tree file on some platforms.
This commit is contained in:
@@ -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"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user