Skip to content

Commit

Permalink
use slice syntax for reversed
Browse files Browse the repository at this point in the history
  • Loading branch information
mbiokyle29 committed Apr 17, 2024
1 parent cb6ddc4 commit 8099521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion palamedes/align.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def reverse_seq_record(seq_record: SeqRecord) -> SeqRecord:
the best alignment.
"""
return SeqRecord(
Seq("".join(reversed(seq_record.seq))),
Seq(seq_record.seq[::-1]),
id=seq_record.id,
name=seq_record.name,
description=seq_record.description,
Expand Down

0 comments on commit 8099521

Please sign in to comment.