feat: add cli annotation subcommand (#2539)

add `cellxgene annotate` subcommand for invoking MLflow model to generate new `obs` annotations, initially intended for cell type annotations.
This commit is contained in:
Andrew Tolopko
2022-07-29 05:15:54 -07:00
committed by GitHub
parent d2b20129f7
commit 30e19e47c6
14 changed files with 388 additions and 5 deletions
+5 -3
View File
@@ -46,10 +46,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v4
- name: Set up Python 3.7 (pyenv) # pyenv needed for mlflow in cli annotate tests
uses: gabrielfalcao/pyenv-action@v9
with:
python-version: 3.7
default: 3.7
command: pip install -U pip # upgrade pip after installing python
- run: pip install virtualenv # virtualenv needed for mlflow in cli annotate tests
- name: Python cache
uses: actions/cache@v1
with: