Commits

Anonymous committed 3b6a848

no message

Comments (0)

Files changed (2)

 ##     GOlib.txtGO2pickle('200312')
 ##
 def txtGO2pickle(GOver = '200312'):
-    exit("forced error - this function is not tested yet")
+##    exit("forced error - this function is not tested yet")
     dataDir = './go_' + GOver + '-termdb-tables/'
 
     ## read in term definitions
             self.referenceGenes = []
             dattrs = [a for a in self.referenceData.domain.attributes + self.referenceData.domain.getmetas().values()]
             if self.geneIDattr in dattrs:
-                for e in data:
+                for e in self.referenceData:
                     g = str(e[self.geneIDattr])
                     if g not in self.referenceGenes:
                         self.referenceGenes.append( g)