sets up Github action to build a ZIP file with all phenopackets upon a release.
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.
The PR does 2 things:
ppktstore
package :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:
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.