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

chore: refactor all_ontology_generator for cleanliness and modularity #28

Merged
merged 10 commits into from
Feb 13, 2024

Conversation

nayib-jose-gloria
Copy link
Collaborator

Make all_ontology_generator easier to read and change, should we decide to change implementation details (parsing library, file download logic, adding or removing metadata fields, etc.)

Copy link
Collaborator

@Bento007 Bento007 left a comment

Choose a reason for hiding this comment

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

Move the python source files under tools/ontology-builder/src

@@ -12,22 +12,21 @@
import yaml


def _download_owls(owl_info_yml: str = env.OWL_INFO_YAML, output_dir: str = env.ONTOLOGY_DIR):
def _download_ontologies(onto_info_yml: str = env.ONTO_INFO_YAML, output_dir: str = env.RAW_ONTOLOGY_DIR):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

should we add a TODO to replace with that function once its created? or create it now as part of this PR?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'll update the ticket to reference this code.

@Bento007 Bento007 merged commit b96c552 into main Feb 13, 2024
1 check passed
@Bento007 Bento007 deleted the nayib/all_ontology_refactor branch February 13, 2024 23:25
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.

2 participants