[hg] galaxy 2726: Allow array_tree.py to still load with older b...
details: http://www.bx.psu.edu/hg/galaxy/rev/891e1e2a407d changeset: 2726:891e1e2a407d user: James Taylor <james@jamestaylor.org> date: Fri Sep 18 16:09:14 2009 -0400 description: Allow array_tree.py to still load with older bx (but track browser won't work) 1 file(s) affected in this change: lib/galaxy/visualization/tracks/data/array_tree.py diffs (15 lines): diff -r cb9b12f8e127 -r 891e1e2a407d lib/galaxy/visualization/tracks/data/array_tree.py --- a/lib/galaxy/visualization/tracks/data/array_tree.py Fri Sep 18 16:07:17 2009 -0400 +++ b/lib/galaxy/visualization/tracks/data/array_tree.py Fri Sep 18 16:09:14 2009 -0400 @@ -3,7 +3,10 @@ """ import pkg_resources; pkg_resources.require( "bx-python" ) -from bx.arrays.array_tree import FileArrayTreeDict +try: + from bx.arrays.array_tree import FileArrayTreeDict +except: + pass from math import floor, ceil, log # Maybe this should be included in the datatype itself, so users can add their
participants (1)
-
Greg Von Kuster