Closed mattwthompson closed 2 months ago
Describe the bug
To Reproduce
In [1]: import numpy In [2]: from openff.toolkit import Molecule, Topology, Quantity In [3]: from openff.toolkit.topology._mm_molecule import _SimpleMolecule In [4]: simple = _SimpleMolecule.from_molecule(Molecule.from_smiles("CCO")) In [5]: topology = Topology.from_molecules([simple, simple]) In [6]: topology.set_positions(Quantity(numpy.zeros((topology.n_atoms, 3)), "nanometer")) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[6], line 1 ----> 1 topology.set_positions(Quantity(numpy.zeros((topology.n_atoms, 3)), "nanometer")) File ~/software/openff-toolkit/openff/toolkit/topology/topology.py:2175, in Topology.set_positions(self, array) 2173 molecule._conformers = [array[start:stop]] 2174 else: -> 2175 molecule.conformers = [array[start:stop]] # type: ignore[misc] 2176 else: 2177 molecule.conformers[0:1] = [array[start:stop]] AttributeError: property 'conformers' of '_SimpleMolecule' object has no setter
Output
Computing environment (please complete the following information):
conda list
Additional context
Describe the bug
To Reproduce
Output
Computing environment (please complete the following information):
conda list
Debug log (click me!)
``` Copy the debug log here! ```Additional context