2024-07-19 Thompson/Wagner Check-in meeting notes
Participants
@Matt Thompson
@Jeffrey Wagner
Discussion topics
Item | Notes |
---|---|
General updates |
from openff.toolkit import Molecule, ForceField
from openff.units import unit
ff = ForceField("openff-2.2.0.offxml")
mol = Molecule.from_smiles("NCC=O")
ff["ProperTorsions"].add_parameter({'smirks':'[H:1][N:2]C[C:3]=[O:4]',
"k1":1.*unit.kilocalorie_per_mole,
"periodicity1":1,
"phase1":0*unit.degree}
)
interchange = ff.create_interchange(mol.to_topology()) raises File ~/conda/envs/off-tk-dev/lib/python3.10/site-packages/openff/interchange/smirnoff/_base.py:181, in _check_all_valence_terms_assigned(handler, assigned_terms, topology, valence_terms)
176 raise RuntimeError(
177 f"Could not find an exception class for handler {handler}",
178 )
180 exception = exception_class(err_msg)
--> 181 exception.unassigned_topology_atom_tuples = unassigned_atom_tuples
182 exception.handler_class = handler.__class__
183 raise exception
UnboundLocalError: local variable 'unassigned_atom_tuples' referenced before assignment
|
Trello |
Action items
Decisions
Â