Skip to content

Commit

Permalink
Update NONE to onlist
Browse files Browse the repository at this point in the history
  • Loading branch information
Yenaled authored Oct 16, 2023
1 parent 4c57ed8 commit e0f175e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions kb_python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,6 @@ def parse_count(
'and crash for large count matrices.'
))

if args.w and args.w.lower() == 'none':
args.w = None

if args.filter_threshold and args.filter != 'bustools':
parser.error(
'Option `--filter-threshold` may only be used with `--filter bustools`.'
Expand Down Expand Up @@ -1169,8 +1166,9 @@ def setup_count_args(
help=(
'Path to file of on-listed barcodes to correct to. '
'If not provided and bustools supports the technology, '
'a pre-packaged on-list is used. Otherwise, or if \'None\', is '
'provided, the bustools whitelist command is used. '
'a pre-packaged on-list is used. Otherwise, '
'the bustools whitelist command is used. '
'Specify NONE to bypass barcode error correction. '
'(`kb --list` to view on-lists)'
),
type=str
Expand Down

0 comments on commit e0f175e

Please sign in to comment.