Changeset 1335:2c6e74da200c in orange-bioinformatics


Ignore:
Timestamp:
02/25/11 14:25:58 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
3a11994d01e437319fea9df36d6a75ab68a0a719
Message:
  • fixed download_mappings method (A new column 'Name' was added to the UniProt mapping)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiDicty.py

    r1292 r1335  
    14551455        out = [] 
    14561456        for l in txt2ll(s, separ='\t', lineSepar='\n')[1:]: 
    1457             if len(l) == 3: 
     1457            if len(l) == 4: 
    14581458                ddb = empty_none(l[0]) 
    14591459                ddb_g = empty_none(l[1]) 
    1460                 uniprot = empty_none(l[2]) 
    1461                 out.append((ddb, ddb_g, uniprot)) 
     1460                name = empty_none(l[2]) 
     1461                uniprot = empty_none(l[3]) 
     1462                out.append((ddb, ddb_g, name, uniprot)) 
    14621463        return out 
    14631464 
Note: See TracChangeset for help on using the changeset viewer.