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

Added an option to the scramble phenopackets command to allow for a local cached ontology file #360

Conversation

yaseminbridges
Copy link
Contributor

Allows the specification of hp.obo/hp.json etc etc to be consumed by OAK and used in the workflow for scrambling phenopackets in place of fetching remotely

@yaseminbridges yaseminbridges linked an issue Sep 19, 2024 that may be closed by this pull request
@yaseminbridges yaseminbridges self-assigned this Sep 19, 2024
@yaseminbridges yaseminbridges marked this pull request as ready for review September 19, 2024 15:27
Copy link
Contributor

@julesjacobsen julesjacobsen left a comment

Choose a reason for hiding this comment

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

If you added all the scramble_phenopackets functions as methods on the HpoRandomiser class then you wouldn't have to change the method signature of all of these as where the ontology was coming from would be dealt with once when constructing the HpoRandomiser

Copy link
Contributor

@julesjacobsen julesjacobsen left a comment

Choose a reason for hiding this comment

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

Did this reduce the amount of changes necessary? Look like it.

@julesjacobsen julesjacobsen merged commit ee41166 into main Sep 26, 2024
5 checks passed
@yaseminbridges yaseminbridges deleted the 359-add-option-to-allow-cached-version-of-the-ontology-files branch September 30, 2024 12:10
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.

Add option to allow cached version of the ontology files
2 participants