Skip to content

Commit

Permalink
Update cli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mdshw5 authored Jul 25, 2017
1 parent 0df78db commit 1f93e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyfaidx/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def write_sequence(args):
if ext:
ext = ext[1:] # remove the dot from extension
filt_function = re.compile(args.regex).search
fasta = Fasta(args.fasta, default_seq=args.default_seq, key_function=eval(args.header_function), strict_bounds=not args.lazy, split_char=args.delimiter, filt_function=filt_function, read_long_names=args.full_names, rebuild=not args.no_rebuild)
fasta = Fasta(args.fasta, default_seq=args.default_seq, key_function=eval(args.header_function), strict_bounds=not args.lazy, split_char=args.delimiter, filt_function=filt_function, read_long_names=args.long_names, rebuild=not args.no_rebuild)

regions_to_fetch, split_function = split_regions(args)
if not regions_to_fetch:
Expand Down

0 comments on commit 1f93e5d

Please sign in to comment.