Skip to content

Commit

Permalink
fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
stefdoerr committed Sep 3, 2024
1 parent 08d2f4e commit c074e47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htmd/builder/noncanonical.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,10 +323,10 @@ def _fix_prepi_atomname_capitalization(mol, prepi):


def _clean_prm(prm, mol, backbone_at, padding_atoms):
from moleculekit.util import guessAnglesAndDihedrals
from moleculekit.util import calculateAnglesAndDihedrals

all_at = np.unique(mol.atomtype[~padding_atoms]).tolist() + backbone_at
angles, dihedrals = guessAnglesAndDihedrals(mol.bonds)
angles, dihedrals = calculateAnglesAndDihedrals(mol.bonds)

at_dict = {
"bond_types": mol.atomtype[mol.bonds].tolist(),
Expand Down

0 comments on commit c074e47

Please sign in to comment.