Changeset 428:3a6d6a44a637 in orange-bioinformatics


Ignore:
Timestamp:
07/21/08 08:27:33 (6 years ago)
Author:
markotoplak
Branch:
default
Convert:
16acbf54cf27756ca981408ec4d6925b7eef6e4f
Message:

Minor change in obiGsea.py.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiGsea.py

    r414 r428  
    11import orange 
    2 #import mMisc as m 
    32import numpy 
    43import stats 
    5 #import mOrngData 
    64import random 
    75import time 
     
    876874 
    877875 
    878 def evaluateEtWith(fn): 
    879     """ 
    880     fn - evaluates example talbe 
     876def evaluateEtWith(fn, *args, **kwargs): 
     877    """ 
     878    fn - evaluates example table given 
     879    following arguments. 
    881880    """ 
    882881 
     
    885884        for a in datal[0].domain.attributes: 
    886885            et = etForAttribute(datal, a) 
    887             res.append(fn(et)) 
     886            res.append(fn(et, *args, **kwargs)) 
    888887        return res 
    889888 
Note: See TracChangeset for help on using the changeset viewer.