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
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/expect -f
# Mac only! (depends upon `open` command)
set h5ad [lindex $argv 0]
puts "$h5ad"
spawn cellxgene launch $h5ad
set timeout 10
expect -indices -re "Please go to (http:\/\/localhost:\[0-9\]+)" {
set url $expect_out(1,string)
exec >@stdout 2>@stderr open $url
}
interact