@@ -539,23 +539,23 @@ def is_descendant(self, descendant_node: str, ancestor_node: str) -> bool:
539539 ancestor_node = ancestor_node ,
540540 )
541541
542- def is_sibling (self , nodeA : str , nodeB : str ) -> bool :
542+ def is_sibling (self , node_a : str , node_b : str ) -> bool :
543543 """Check if two terms are siblings.
544544
545545 Args:
546- nodeA (str): First term ID.
547- nodeB (str): Second term ID.
546+ node_a (str): First term ID.
547+ node_b (str): Second term ID.
548548
549549 Returns:
550- bool: True if nodeA and nodeB are siblings.
550+ bool: True if node_a and node_b are siblings.
551551
552552 Example:
553553 >>> client = ClientOntology()
554554 >>> ontology = client.load(file_path_ontology="./tests/resources/dummy_ontology.obo")
555555 >>> client.is_sibling("E", "F")
556556 True
557557 """
558- return self ._relations .is_sibling (nodeA = nodeA , nodeB = nodeB )
558+ return self ._relations .is_sibling (node_a = node_a , node_b = node_b )
559559
560560 def get_common_ancestors (self , node_ids : list [str ]) -> set :
561561 """Get common ancestors of multiple terms.
@@ -610,12 +610,12 @@ def get_distance_from_root(self, term_id: str) -> int | None:
610610 """
611611 return self ._introspection .get_distance_from_root (term_id = term_id )
612612
613- def get_path_between (self , nodeA : str , nodeB : str ) -> list [dict ]:
613+ def get_path_between (self , node_a : str , node_b : str ) -> list [dict ]:
614614 """Get the path between two terms.
615615
616616 Args:
617- nodeA (str): Start term ID.
618- nodeB (str): End term ID.
617+ node_a (str): Start term ID.
618+ node_b (str): End term ID.
619619
620620 Returns:
621621 list[dict]: List of path steps.
@@ -628,7 +628,9 @@ def get_path_between(self, nodeA: str, nodeB: str) -> list[dict]:
628628 >>> client.get_path_between("N", "C")
629629 []
630630 """
631- return self ._introspection .get_path_between (nodeA = nodeA , nodeB = nodeB )
631+ return self ._introspection .get_path_between (
632+ node_a = node_a , node_b = node_b
633+ )
632634
633635 def get_trajectories_from_root (self , term_id : str ) -> list [dict ]:
634636 """Get all trajectories from the root to a term.
0 commit comments