Skip to content

Commit

Permalink
fixed bug for cst mode that used len(alignment) and not alignment.get…
Browse files Browse the repository at this point in the history
…_alignment_length() for determining how many sites there are in an MSA
  • Loading branch information
JLSteenwyk committed Apr 12, 2024
1 parent d29a57d commit ac34a56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clipkit/clipkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def run(

site_positions_to_trim = None
if mode == TrimmingMode.cst:
aln_length = len(alignment)
aln_length = alignment.get_alignment_length()
site_positions_to_trim = (
get_custom_sites_to_trim(auxiliary_file, aln_length) or []
)
Expand Down
2 changes: 1 addition & 1 deletion clipkit/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.2.5"
__version__ = "2.2.6"

0 comments on commit ac34a56

Please sign in to comment.