1. biolab
  2. Untitled project
  3. orange-bioinformatics

Commits

Aleš Erjavec  committed eeebac5

Split the source string.

  • Participants
  • Parent commits 2f10cfe
  • Branches default

Comments (0)

Files changed (1)

File obiPPI.py

View file
             from aliases
             where protein_id=?
             """, (id,))
-        return cur.fetchall()
+        res = cur.fetchall()
+        return [(syn, set(source.split(" "))) \
+                for syn, source in res]
     
     def all_edges(self, taxid=None):
         """ Return a list of all edges. If taxid is not None return the