Open pbuslaev opened 9 months ago
Following up on this also, would it be possible to generate some tests for get_smarts
function in ConvertBackboneParameters.py
and ConvertResidueParameters.py
? Having those tests, I can rework get_smarts
to get rid of openeye
dependency
While adding unit tests would make this repo more suitable for expansion, we don't have effort allocated this year to do that, and this repo is intended to be a point-in-time study instead of a living thing. So we're happy to have contributions but we can't dedicate time to making unit tests. The data you need should be available here, though, in the form of the mol2 input files and the output OFFXMLs.
Ok, I see. Actually, since I think it is important and useful to be able to easily port amber patches, I will try to work on both unittests and porting protocol in the coming weeks.
Following the discussion in openff-toolkit project, I think it might be important to get rid of
openeye
dependency. As I see it now, it is only used inget_smarts(prefix, atom_idxs)
function inConvertBackbonoParameters.py
andConvertResidueParameters.py
files. There are two reasons, why I think it might be important to get rid ofopeneye
dependency:amberSB99-ildn
and now he wants to testopenff-toolkit
as a tool for setting up simulations, but wants to use exactly same parameters for testing first.openeye
licence he is limited.I can work on implementation of
get_smarts(prefix, atom_idxs)
withrdkit
if someone can share with me pairs ofmol2
structures and corresponding SMARTS patterns. I can also try to modify porting pipeline a bit, so that it allows patches. Please let me know, if you find those suggestions useful