AnatomicMaps / map-knowledge

Flatmap SCKAN knowledge store
Apache License 2.0
0 stars 5 forks source link

apinatomy.py stablize edge order, prioritize ontologyTerms #2

Closed tgbugs closed 2 years ago

tgbugs commented 2 years ago

unexpected changes in the choice of identifiers when there are multiple options was the result of edges not being sorted which means that when the SciGraph cache cycles a new order can be returned

the other issue is that if there were multiple identifiers for a layer the last one would be picked because layers with high priority were appended to a list first, but the layer that was used was popped off first, so the higher priority terms were masked, this is fixed as well