Commits

Aleš Erjavec  committed eeebac5

Split the source string.

  • Participants
  • Parent commits 2f10cfe

Comments (0)

Files changed (1)

             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