1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/b74c56d994ef/ Changeset: b74c56d994ef User: jgoecks Date: 2014-07-11 18:20:40 Summary: Visualization genome data providers: remove dependency on numpy. Affected #: 1 file diff -r 154429911adcedfefb26776670805f4591baf502 -r b74c56d994efbb0e8330d9dd75c682358c963497 lib/galaxy/visualization/data_providers/genome.py --- a/lib/galaxy/visualization/data_providers/genome.py +++ b/lib/galaxy/visualization/data_providers/genome.py @@ -6,11 +6,10 @@ import pkg_resources import itertools import random +import math pkg_resources.require( "bx-python" ) pkg_resources.require( "pysam" ) -pkg_resources.require( "numpy" ) -import numpy from bx.interval_index_file import Indexes from bx.bbi.bigwig_file import BigWigFile from bx.bbi.bigbed_file import BigBedFile @@ -1179,7 +1178,7 @@ var = summary.sum_squares[0] - mean if valid_count > 1: var /= valid_count - 1 - sd = numpy.sqrt( var ) + sd = math.sqrt( var ) min_val = summary.min_val[0] max_val = summary.max_val[0] 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.