INCATools / INCATools/ontology-access-kit

sort the return of 'ancestors' by the chain of relations such that the nodes are arranged in order from leaf to root

Open
#670 0 comments 1 reaction 0 assignees View on GitHub
good first issue
Dominant language
Python
Stars
198
Forks
35
Avg merge
3d 4h
Merged PRs (30d)
1

Description

currently the return of the 'ancestors' method does not return parent nodes in consistent order.

Contributor guide

Open the contributing guide

Research direction

Start by locating the implementation and tests for the `ancestors` method, then reproduce its current ordering with a parent chain. Trace the relations used to build the result and verify that the returned nodes are consistently ordered from leaf to root; add or update a regression test demonstrating that order.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.