mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-15 12:47:56 +08:00
add `cellxgene annotate` subcommand for invoking MLflow model to generate new `obs` annotations, initially intended for cell type annotations.
17 lines
301 B
Plaintext
Executable File
17 lines
301 B
Plaintext
Executable File
#!/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
|