commit/galaxy-central: jgoecks: Read and write summary tree in binary; this mitigates problems in reading summary tree file on some platforms.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/b2c68b980ffc/ changeset: b2c68b980ffc user: jgoecks date: 2011-09-21 18:20:07 summary: Read and write summary tree in binary; this mitigates problems in reading summary tree file on some platforms. affected #: 1 file (-1 bytes) --- a/lib/galaxy/visualization/tracks/summary.py Wed Sep 21 11:36:58 2011 -0400 +++ b/lib/galaxy/visualization/tracks/summary.py Wed Sep 21 12:20:07 2011 -0400 @@ -89,5 +89,5 @@ 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")) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket