mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Grouping tool: use system numpy if provided, otherwise use bundled numpy egg
This commit is contained in:
@@ -6,9 +6,12 @@
|
||||
This tool provides the SQL "group by" functionality.
|
||||
"""
|
||||
import sys, commands, tempfile, random
|
||||
import pkg_resources
|
||||
pkg_resources.require( "numpy" )
|
||||
import numpy
|
||||
try:
|
||||
import numpy
|
||||
except:
|
||||
from galaxy import eggs
|
||||
eggs.require( "numpy" )
|
||||
import numpy
|
||||
|
||||
from itertools import groupby
|
||||
|
||||
|
||||
Reference in New Issue
Block a user