Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
cmungall committed Feb 11, 2025
1 parent 7a99c20 commit feba8d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/oaklib/implementations/uniprot/uniprot_implementation.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,7 @@ def relationships(
:param include_entailed: TODO
:return:
"""
from bioservices import UniProt

u = UniProt()
exclude_predicates = [
"up:mappedCitation",
"up:mappedAnnotation",
Expand Down
2 changes: 1 addition & 1 deletion src/oaklib/utilities/obograph_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def graph_node_ids_from_subject_and_objects(g: Graph) -> List[CURIE]:
def remove_unlabeled_nodes(g: Union[GraphDocument, Graph], rescue_connected_nodes=True) -> None:
if isinstance(g, GraphDocument):
for graph in g.graphs:
remove_unlabeled(graph, rescue_connected_nodes=rescue_connected_nodes)
remove_unlabeled_nodes(graph, rescue_connected_nodes=rescue_connected_nodes)
else:
if rescue_connected_nodes:
rescued = graph_node_ids_from_subject_and_objects(g)
Expand Down

0 comments on commit feba8d7

Please sign in to comment.