You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's nice that we can serialize the entirety of a database to a BEL file, but often, we only want the parts that are relevant to a pre-existing BEL network. We need a function that extracts the proteins from a BEL network, queries the database for them, finds their InterPro entries, and adds them to the BEL graph
def enrich_proteins(graph):
"""Adds the InterPro annotations for proteins in the graph
:param pybel.BELGraph graph: A BEL Graph
"""
raise NotImplemented
is not implemented, so this is what you mean? here it should get the bel script file that we've generated and create a belgraph ?
In test-driven development it's common to make the method stub and have it raise not implemented. Check the corresponding unit tests to see how it should work (i already wrote them for you)
It's nice that we can serialize the entirety of a database to a BEL file, but often, we only want the parts that are relevant to a pre-existing BEL network. We need a function that extracts the proteins from a BEL network, queries the database for them, finds their InterPro entries, and adds them to the BEL graph
The text was updated successfully, but these errors were encountered: