Skip to content

Commit 2f128c0

Browse files
committed
Fix GPU command option case
1 parent 558f122 commit 2f128c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

celltypist/command_line.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def show_help_and_exit(message: str):
3939
@click.option("-ps", "--p-thres", default=0.5, help="Probability threshold for the multi-label classification. Ignored if `--mode` is `best_match`.", type=float, show_default=True)
4040
@click.option("--majority-voting", is_flag=True, default=False, help="Refine the predicted labels by running the majority voting classifier after over-clustering.")
4141
@click.option("-oc", "--over-clustering", default='auto', help="Input file with the over-clustering result of one cell per line, or a string key specifying an existing metadata column in the AnnData object. If not provided, default to using a heuristic over-clustering approach according to the size of input data. Ignored if `--majority-voting` is not set.", type=str, show_default=True)
42-
@click.option("--use-GPU", is_flag=True, default=False, help="Whether to use GPU for over clustering on the basis of `rapids-singlecell`. Ignored if `--majority-voting` is not set.")
42+
@click.option("--use-GPU", "use_GPU", is_flag=True, default=False, help="Whether to use GPU for over clustering on the basis of `rapids-singlecell`. Ignored if `--majority-voting` is not set.")
4343
@click.option("-mp", "--min-prop", default=0, help="For the dominant cell type within a subcluster, the minimum proportion of cells required to support naming of the subcluster by this cell type. Ignored if `--majority-voting` is not set.", type=float, show_default=True)
4444
@click.option("-o", "--outdir", default=None, help="Directory to store the output files and (if `--plot-results` is set) figures. Default to the current working directory.", type=click.Path(exists=False))
4545
@click.option("-p", "--prefix", default="", help="Prefix for the output files and (if `--plot-results` is set) figures. Default to no prefix used.", type=str)

0 commit comments

Comments
 (0)