Skip to content

Commit

Permalink
update main
Browse files Browse the repository at this point in the history
  • Loading branch information
Yenaled authored Nov 4, 2023
1 parent a9d225b commit 4e50a40
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions kb_python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,11 +463,12 @@ def parse_count(
'`--batch-barcodes` can only be used if batch file supplied'
)
if args.batch_barcodes and demultiplexed:
parser.error(
f'`--batch-barcodes` may not be used for technology {args.x}'
)
if args.x.upper() == 'DEFAULT' or args.x.upper() == 'BULK':
parser.error(
f'`--batch-barcodes` may not be used for technology {args.x}'
)
if args.batch_barcodes and args.w is None and not whitelist_provided(
args.x.upper()):
args.x.upper()) and not demultiplexed:
parser.error(
f'`--batch-barcodes` may not be used for technology {args.x} without on-list'
)
Expand Down

0 comments on commit 4e50a40

Please sign in to comment.