Skip to content

Commit

Permalink
Update np.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed May 7, 2023
1 parent d3c7d21 commit f8efb7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nuad/np.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,8 +1264,7 @@ def wcenergies_str(seqs: Sequence[str], temperature: float, negate: bool = False


def wcenergy_str(seq: str, temperature: float, negate: bool = False) -> float:
seqarr = seqs2arr([seq])
return list(calculate_wc_energies(seqarr, temperature, negate))[0]
return wcenergies_str([seq], temperature, negate)[0]


def calculate_wc_energies(seqarr: np.ndarray, temperature: float, negate: bool = False) -> np.ndarray:
Expand Down

0 comments on commit f8efb7c

Please sign in to comment.