Changeset 1482:d89d68640e2a in orange-bioinformatics


Ignore:
Timestamp:
09/29/11 20:18:15 (3 years ago)
Author:
markotoplak
Branch:
default
Convert:
79c29c2317b9a9da11bbfb67fcdee0281c20c73c
Message:

obiDicty: fix sorting group elements in join_replicates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiDicty.py

    r1480 r1482  
    14181418    for k,vals in all_values.iteritems(): 
    14191419        types[k] = data_type(vals) 
    1420    
     1420 
    14211421    for group, elements in d.items(): 
    14221422        a = orange.FloatVariable() 
     
    14241424     
    14251425        def sk(x): 
    1426             return ( types[n](x[n]) for n in ignorenames if n in all_values ) 
     1426            return [ types[n](x[n]) for n in ignorenames if n in all_values ] 
    14271427 
    14281428        elements = sorted(elements, key=lambda x: sk(data.domain.attributes[x].attributes)) 
Note: See TracChangeset for help on using the changeset viewer.