Changeset 1517:eeebac5bf699 in orange-bioinformatics


Ignore:
Timestamp:
11/28/11 11:28:02 (2 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
c09d52e45aeeb6ea09a26638ab42aaf796775e2f
Message:

Split the source string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • obiPPI.py

    r1514 r1517  
    580580            where protein_id=? 
    581581            """, (id,)) 
    582         return cur.fetchall() 
     582        res = cur.fetchall() 
     583        return [(syn, set(source.split(" "))) \ 
     584                for syn, source in res] 
    583585     
    584586    def all_edges(self, taxid=None): 
Note: See TracChangeset for help on using the changeset viewer.