From e07ebf85e8aa792a1f0698f0e06d85c5e20672a3 Mon Sep 17 00:00:00 2001 From: Matt Weiden <538456+mweiden@users.noreply.github.com> Date: Wed, 25 Mar 2020 14:38:07 -0700 Subject: [PATCH] Small documentation fix in prepare (#1292) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See sample of current behavior below: ``` venv❯ cellxgene prepare example-dataset/pbmc3k.h5ad [cellxgene] Starting CLI... Error: [cellxgene] cellxgene prepare has not been installed. Please run `pip install cellxgene[prepare]` to install the necessary requirements. ~/workspace/cellxgene mweiden/446-custom-color-palette* 1 venv❯ pip install cellxgene[prepare] zsh: no matches found: cellxgene[prepare] ``` Fix: Wrap cellxgene[prepare] in single quotes. --- server/cli/prepare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/cli/prepare.py b/server/cli/prepare.py index 85ee5da6..cc576418 100644 --- a/server/cli/prepare.py +++ b/server/cli/prepare.py @@ -84,7 +84,7 @@ def prepare( import scanpy as sc except ImportError: raise click.ClickException( - "[cellxgene] cellxgene prepare has not been installed. Please run `pip install cellxgene[prepare]` " + "[cellxgene] cellxgene prepare has not been installed. Please run `pip install 'cellxgene[prepare]'` " "to install the necessary requirements." )