monarch-initiative / phenopacket-store

Collection of phenopackets
https://monarch-initiative.github.io/phenopacket-store/
BSD 3-Clause "New" or "Revised" License
12 stars 4 forks source link

Setup automated phenopacket generation on release #90

Closed ielis closed 2 months ago

ielis commented 2 months ago

The PR does 2 things:

CLI

The CLI allows us to use ppktstore code from terminal, without notebooks. This is useful if we want to run the code e.g. from GitHub action.

The CLI is run as:

python3 -m ppktstore --help

Currently, we have package command that takes a folder to the notebook/cohorts directory and creates a phenopacket ZIP at a desired location.

Automated packaging

The ppktstore package is used by a new GitHub Action to create a ZIP in each release.


@pnrobinson I think this is useful and can be further extended to actually generate the phenopackets from the notebooks. However, the generation would not work now without updating the notebooks. We can improve this later.