Skip to content

Commit

Permalink
Use Sequence instead of list[] in parameters to build_primer_pairs() (#…
Browse files Browse the repository at this point in the history
…86)

Fixes #84
  • Loading branch information
tfenne authored Nov 14, 2024
1 parent 7e2e784 commit 8c39970
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
.vscode/
.idea/

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down Expand Up @@ -154,10 +155,3 @@ dmypy.json

# Cython debug symbols
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
6 changes: 3 additions & 3 deletions prymer/api/picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from individual left and primers.
"""

from collections.abc import Sequence
from pathlib import Path
from typing import Iterator
from typing import Optional
Expand Down Expand Up @@ -91,8 +91,8 @@ def score(


def build_primer_pairs(
left_primers: list[Oligo],
right_primers: list[Oligo],
left_primers: Sequence[Oligo],
right_primers: Sequence[Oligo],
target: Span,
amplicon_sizes: MinOptMax[int],
amplicon_tms: MinOptMax[float],
Expand Down

0 comments on commit 8c39970

Please sign in to comment.