Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify neurondm ingestion to filter out apinatomy population #298

Open
ddelpiano opened this issue Sep 18, 2024 · 1 comment
Open

modify neurondm ingestion to filter out apinatomy population #298

ddelpiano opened this issue Sep 18, 2024 · 1 comment

Comments

@ddelpiano
Copy link
Member

ddelpiano commented Sep 18, 2024

we might want to implement a flexible filter, so that this can be reused in the future to filter out other KSs that are matching a certain criteria given, so that is not just apinatomy populations.

Priority: High

Acceptance criteria:
The requirement is that we need to re-run the neurondm ingestion to get all the new non-apinatomy population in composer.

@tgbugs
Copy link
Collaborator

tgbugs commented Sep 24, 2024

for f in ('apinat-partial-orders',
'apinat-pops-more',
'apinat-simple-sheet',
remove those files (comment out those apinat strings and you can probably comment out
# label only imports
for f in ('apinatomy-neuron-populations',
'../../npo'):
p = os.path.normpath(gen_neurons_path + f)
if local:
ori = OntResPath(olr / (p + suffix))
else:
ori = OntResIri(orr + p + suffix)
[g.add((s, rdfs.label, o)) for s, o in ori.graph[:rdfs.label:]]
too).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants