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

add goals to generate a mapping change diff report #7962

Merged
merged 5 commits into from
Jul 25, 2024
Merged

Conversation

twhetzel
Copy link
Collaborator

addresses #7230

Copy link
Member

@matentzn matentzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 important, 1 minor suggestion

src/ontology/mondo.Makefile Outdated Show resolved Hide resolved
src/ontology/mondo.Makefile Outdated Show resolved Hide resolved
Copy link
Member

@matentzn matentzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another thing I just saw

src/ontology/mondo.Makefile Outdated Show resolved Hide resolved
@twhetzel twhetzel self-assigned this Jul 19, 2024
twhetzel and others added 3 commits July 18, 2024 21:13
Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
Copy link
Member

@matentzn matentzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, assuming you tried this!

@twhetzel twhetzel assigned twhetzel and unassigned matentzn Jul 19, 2024
@twhetzel
Copy link
Collaborator Author

No, actually I have not but I will.

src/ontology/mondo.Makefile Outdated Show resolved Hide resolved
@twhetzel twhetzel requested a review from matentzn July 23, 2024 02:01
Copy link
Collaborator Author

@twhetzel twhetzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I run sh run.sh make kgcl-diff -B I get:

...
runoak -i simpleobo:tmp/mondo-released.obo diff -X simpleobo:mondo-base.obo -o reports/difference_release_base.yaml --output-type yaml
runoak -i simpleobo:tmp/mondo-released.obo diff -X simpleobo:mondo-base.obo \
-o reports/difference_release_base.tsv --output-type csv --statistics --group-by-property oio:hasOBONamespace
runoak -i simpleobo:tmp/mondo-released.obo diff -X simpleobo:mondo-base.obo -o reports/difference_release_base.md --output-type md
No handler for key: RemoveNodeFromSubset

When I tried: sh run.sh make all -B I ran into this error:

MISSING FILE ERROR file '../sparql/preprocess-module.ru' does not exist

It runs in "obolibrary/odkfull:latest" and I pulled the latest.

Edit: Each make command above resulted in failure with the error messages as posted above.

@matentzn
Copy link
Member

No handler for key: RemoveNodeFromSubset

@hrshdhgd?

MISSING FILE ERROR file '../sparql/preprocess-module.ru' does not exist

I will track that down for the sake of identifying the leak, but in general we should never run:

sh run.sh make all -B

Always run:

sh run.sh make all -B IMP=false

Somewhere in the main pipeline there is an import dependency that should not exist anymore, but this is unrelated to this PR.

This output was not needed for the Mondo DIFF pipeline
@hrshdhgd
Copy link
Member

hrshdhgd commented Jul 23, 2024

No handler for key: RemoveNodeFromSubset

@hrshdhgd?

Sorry about that. Somehow this got missed in oaklib. Working on a PR right now.

@twhetzel
Copy link
Collaborator Author

I ran sh run.sh make all -B IMP=false and the release process finished successfully.

I then checked reports/difference_release_base.md against the most recent Orphanet alignment for August release and OMIM Alignment for August release and the new xrefs added into Mondo are found in the new report, e.g. reports/difference_release_base.md.

@twhetzel
Copy link
Collaborator Author

twhetzel commented Jul 23, 2024

@matentzn anything else that should be checked or done before merging? If nothing else is needed, can you please merge? Thank you!

@matentzn
Copy link
Member

No, good to go!

@hrshdhgd
Copy link
Member

No handler for key: RemoveNodeFromSubset

@hrshdhgd?

Sorry about that. Somehow this got missed in oaklib. Working on a PR right now.

oaklib v0.6.12 should take care of this

@matentzn
Copy link
Member

Thank you @hrshdhgd

It will be a while before we will notice this change, we just updated ODK and it will be at least until October now :P thanks for fixing! @twhetzel i think we can merge this!

@twhetzel twhetzel merged commit ad86856 into master Jul 25, 2024
1 check passed
@twhetzel twhetzel deleted the issue-7230 branch July 25, 2024 06:00
twhetzel added a commit that referenced this pull request Jul 26, 2024
* add goals to generate a mapping change diff report

* Update src/ontology/mondo.Makefile

Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>

* Update src/ontology/mondo.Makefile

Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>

* Update src/ontology/mondo.Makefile

Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>

* Remove txt KGCL output

This output was not needed for the Mondo DIFF pipeline

---------

Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
twhetzel added a commit that referenced this pull request Jul 31, 2024
* add goals to generate a mapping change diff report

* Update src/ontology/mondo.Makefile

Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>

* Update src/ontology/mondo.Makefile

Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>

* Update src/ontology/mondo.Makefile

Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>

* Remove txt KGCL output

This output was not needed for the Mondo DIFF pipeline

---------

Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
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

Successfully merging this pull request may close these issues.

3 participants