Skip to content

Commit

Permalink
np.round
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjaynagi committed Aug 21, 2023
1 parent b5c3d42 commit 7f17740
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions AgamPrimer/AgamPrimer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,10 @@ def _plotly_primers(
span = f"{int(res_dict[i][oligo]['position'].min())}-{int(res_dict[i][oligo]['position'].max())}"
# Write text to plot for Tm, GC, span, and 3/5'

for col in res_dict[i][oligo].columns:
if col.endswith("freq"):
res_dict[i][oligo][col] = np.round(res_dict[i][oligo][col], 2)

fig.add_trace(
go.Scatter(
x=res_dict[i][oligo]["base_pos"],
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "AgamPrimer"
version = "0.6.8"
version = "0.6.9"
description = "A package to design primers in Anopheles gambiae whilst considering genetic variation with malariagen_data"
authors = [
"Sanjay Nagi <sanjay.nagi@lstmed.ac.uk>",
Expand Down

0 comments on commit 7f17740

Please sign in to comment.