INCATools / ontology-development-kit

Bootstrap an OBO Library ontology
http://incatools.github.io/ontology-development-kit/
BSD 3-Clause "New" or "Revised" License
219 stars 54 forks source link

Adding subsets to an existing repo #867

Closed pfabry closed 1 year ago

pfabry commented 1 year ago

Adding subsets to an exisiting repo can not be done by adding subsets parameters in the myonto-odk.yaml config file in src/ontology/. For example, if I add subset parameters :

subset_group:
    products:
      - id: mysubset

directly in the config file, then update the repo with make update_repo, while the subset name is added in the makefile (line 126), no subsets folders are created. For these and their contents to be generated, I need to manually create (mkdir subsets) the subsets folder in /src/ontology then generate the subset with make all_subsets.

If the subsets parameters are included in the initial seed file when creating the repo, the subsets are created as expected.

pfabry commented 1 year ago

Closing the issue as the problem is resolved.