Skip to content

Commit

Permalink
Update cli.py
Browse files Browse the repository at this point in the history
for #121
  • Loading branch information
mdshw5 authored Jul 25, 2017
1 parent 731ec38 commit 0df78db
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 @@ -80,7 +80,7 @@ def fetch_sequence(args, fasta, name, start=None, end=None):
pass
else:
if (start or end) and not args.no_coords:
yield ''.join(['>', sequence.long_name, '\n'])
yield ''.join(['>', sequence.fancy_name, '\n'])
else:
yield ''.join(['>', sequence.name, '\n'])
for line in wrap_sequence(line_len, sequence.seq):
Expand Down

0 comments on commit 0df78db

Please sign in to comment.