Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dmff/generators/classical.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from collections import defaultdict
from typing import Dict
from copy import deepcopy
import warnings

import numpy as np
import jax.numpy as jnp
Expand Down Expand Up @@ -755,7 +755,7 @@ def addVsiteFunc(pos, params):
self.top_mat[query2[0], nnode] += 1
self.top_mat[query2[1], nnode] -= 1
else:
raise DMFFException(
warnings.warn(
f"No BCC parameter for bond between Atom{beginAtomIdx} and Atom{endAtomIdx}"
)
else:
Expand Down Expand Up @@ -1191,4 +1191,4 @@ def getJaxPotential(self):
return self._jaxPotential


dmff.api.jaxGenerators["LennardJonesForce"] = LennardJonesGenerator
dmff.api.jaxGenerators["LennardJonesForce"] = LennardJonesGenerator