-
Notifications
You must be signed in to change notification settings - Fork 4
Release Management
Nico Matentzoglu edited this page Nov 15, 2018
·
2 revisions
- In your terminal, go to src/ontology
- execute
./run.sh make prepare_release
, which will run the entire release pipeline (updateding imports, compiling patterns, exporting release artefacts such as base, merged). - Make sure pattern defined phenotypes are excluded from the no-edit EQ import
- Run:
./run.sh robot query -f csv -i wbphenotype-merged.owl --query ../sparql/terms-more-than-one-def.sparql terms-more-than-one-def.txt
- This creates a file src/ontology/terms-more-than-one-def.txt which contains all the classes with duplicate logical definitions.
- Remember, there can be multiple definitions for two reasons:
- You created an new EQ in a tsv and did not delete it from the wbphenotype_eq_noedit.owl file (likely reason)
- An EQ for the same IRI is defined in multiple patterns (say WBP_001 is in abnormal.tsv and abnormalMorphology.tsv) <- that would be a bug and needs to be remedied.
- Run:
- Some more quality control can be done using the ROBOT report feature:
./run.sh robot report --input wbphenotype-merged.owl --output report_release.tsv
I would recommend to run this every time and look at the resulting tsv (report_release.tsv). Dont worry about the error message when running the command. - Create new branch.
- Create new commit, but make sure you only include release related stuff in there (top level directory .owl and .obo files, imports in various sub-directories mostly).
- Go to GitHub and create pull request, ask for reviews
- Merge when Travis completes and reviewers happy