Skip to content

Commit

Permalink
segment: Suppress help text for deprecated --rlibpath (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
etal committed Aug 2, 2018
1 parent 6e3b691 commit ca1b862
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cnvlib/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ def _cmd_batch(args):
parallel. Without an argument, use the maximum number of
available CPUs. [Default: process each BAM in serial]""")
P_batch.add_argument("--rlibpath", metavar="DIRECTORY",
#help="Path to an alternative site-library to use for R packages.")
help=argparse.SUPPRESS)
P_batch.add_argument("--rscript-path", metavar="PATH", default="Rscript",
help="""Path to the Rscript excecutable to use for running R code.
Expand Down Expand Up @@ -666,12 +665,11 @@ def _cmd_segment(args):
Set to 0 for no outlier filtering.
[Default: %(default)g]""")
P_segment.add_argument("--rlibpath", metavar="DIRECTORY",
help="""[DEPRECATED] Path to an alternative site-library to use for R
packages.""")
help=argparse.SUPPRESS)
P_segment.add_argument("--rscript-path", metavar="PATH", default="Rscript",
help="""Path to the Rscript excecutable to use for running R code.
Use this option (instead of --rlibpath) to specify a non-default
R installation. [Default: %(default)g]""")
Use this option to specify a non-default R installation.
[Default: %(default)g]""")
P_segment.add_argument('-p', '--processes',
nargs='?', type=int, const=0, default=1,
help="""Number of subprocesses to segment in parallel.
Expand Down

0 comments on commit ca1b862

Please sign in to comment.