Skip to content

Commit 8bb066e

Browse files
committed
ENH Even more flexible argument handling
1 parent 2c06564 commit 8bb066e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SemiBin/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ def expect_file_list(fs):
189189
args.mode = 'several'
190190

191191
if hasattr(args, 'sequencing_type'):
192-
if args.sequencing_type in ['short-read', 'short_reads', 'short-reads']:
192+
if args.sequencing_type.lower() in ['short', 'short-read', 'short_reads', 'short-reads']:
193193
args.sequencing_type = 'short_read'
194194

195-
if args.sequencing_type in ['long-read', 'long_reads', 'long-reads']:
195+
if args.sequencing_type.lower() in ['long', 'long-read', 'long_reads', 'long-reads']:
196196
args.sequencing_type = 'long_read'
197197

198198

0 commit comments

Comments
 (0)