OpenBioSim / sire

Sire Molecular Simulations Framework
https://sire.openbiosim.org
GNU General Public License v3.0
41 stars 11 forks source link

Fix issue #186 #187

Closed lohedges closed 6 months ago

lohedges commented 6 months ago

This PR fixes #186 by updating sire.morph.create_from_pertfile so that the element1 property of the perturbable molecule is correct. Here, the property is inferred from the ambertype1 property using Element.biological_element. I've added a test to make sure that the property is set correctly.

Suggested reviewers:

@chryswoods