Skip to content

Commit

Permalink
updated RSCU function based on issue #6
Browse files Browse the repository at this point in the history
  • Loading branch information
JLSteenwyk committed Jun 12, 2024
1 parent 595a79d commit 05408ad
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion biokit/services/coding_sequences/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def calculate_rscu(self, translation_table) -> dict:
try:
observed_sum += codon_counts[codon]
except KeyError:
observed_sum = 0
pass
for codon in codons:
try:
rscu[codon] = round(
Expand Down
2 changes: 1 addition & 1 deletion biokit/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.2"
__version__ = "1.1.3"
3 changes: 3 additions & 0 deletions change_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ Added "X" as a gap character during alignment recoding

1.1.0
Added Dayhoff-9, -12, -15, and -18 recoding schemes

1.1.3
Fixed bug in RSCU calculations
2 changes: 2 additions & 0 deletions docs/change_log/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ are skipped during analysis of RSCU and gw-RSCU.
*1.0.1*: Added "X" as a gap character during alignment recoding

*1.1.0*: Added Dayhoff-9, -12, -15, and -18 recoding schemes

*1.1.3*: Fixed bug in RSCU calculations
Loading

0 comments on commit 05408ad

Please sign in to comment.