Commit 2adaba72 authored by vpodpecan's avatar vpodpecan
Browse files

new self-signed bmvis.jar and few small fixes

parent 8c13b969
......@@ -4,6 +4,7 @@ IMPUTE_MISSING = 'impute row'
ENTREZ_GENE_PREFIX = 'EntrezGene'
GO_PREFIX = 'GO'
KEGG_PREFIX = 'KEGG'
GOMAPMAN_PREFIX = 'GoMapMan'
DEFAULT_CONTROL_GROUP_ID = '1'
CONTROL_GROUP_KEY = 'control group'
......
......@@ -854,16 +854,17 @@ def segmine_ruletable2attribute_union_intersection(input_dict):
return True
#end
def allGOKEGG(names):
def allOntology(names):
for name in names:
if not name.startswith(constants.GO_PREFIX) and not name.startswith(constants.KEGG_PREFIX):
if not name.startswith(constants.GO_PREFIX) and not name.startswith(constants.KEGG_PREFIX) and not \
name.startswith(constants.GOMAPMAN_PREFIX):
return False
return True
#end
names = [x.name for x in table.domain.attributes]
allgenes = allGenes(names)
allgokegg = allGOKEGG(names)
allgokegg = allOntology(names)
if not allgenes and not allgokegg:
raise ValueError('This widget only accepts SegMine rule table.')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment