Skip to content

Commit

Permalink
move requests optional dependency into function body (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
manulera authored Nov 7, 2024
1 parent 6ae5986 commit 96df3f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pydna/tm.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

import textwrap as _textwrap
from pydna._pretty import pretty_str as _pretty_str
import requests

# See the documentation for Bio.SeqUtils.MeltingTemp for more details
# The 10X Taq Buffer with (NH4)2SO4 is commercialized by companies like
Expand Down Expand Up @@ -331,6 +330,8 @@ def tmbresluc(primer: str, *args, primerc=500.0, saltc=50, **kwargs):


def tm_neb(primer, conc=0.5, prodcode="q5-0"):
import requests

"""Calculates a single primers melting temp from NEB.
Parameters
Expand Down

0 comments on commit 96df3f1

Please sign in to comment.