Closed fdimaio closed 1 year ago
@aleaverfay
I think with your dunbrack/packing fixes this is ready to go.
Remaining failures (cpu only, some of these tests also have cuda versions failing on same error), grouped together with a few comments for each:
These are related to fingerprinting:
This seems like an indexing error? block_coord_offset seems to be the wrong value when I change to the terminal variant:
Going through the tests, I noticed there was no test that compared fa_dun energies to a reference value (as with other score terms). Dunbrack is currently "working", but the scores are incorrect:
One final comment: a lot of tests had to be updated because they were checking the size of some data structure that was keyed off the number of atoms in a pose or residue (e.g., assert coords.shape == (2, 1472, 3)). This seems kind of annoying -- if we ever change the # of atoms in a pose for some reason, a bunch of tests will "fail" for no reason. It's probably not worth going back, but it might be useful in the future for such things to compare against (say) the number of atoms in the input pose or restype rather than a hard-coded value?
Patch coverage: 93.72%
and project coverage change: -0.04%
:warning:
Comparison is base (
98d1046
) 95.13% compared to head (759590a
) 95.09%. Report is 4 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@aleaverfay I've made all the requested changes. I added an error check on patch charges to fix the order dependency issue.
@aleaverfay Think this is ready for re-review.
A checking that adds machinery for residue patching and adds terminal variants. Patch definitions look like the following:
Unlike R3, patches are defined based on chemical identity (via smiles string) rather than residue type, and may only reference atoms within the matched pattern. \<XX> is used to refer to an atom in matched string, where XX is the element name and the occurance number of that element (* is any atom).
Additionally this checkin incorporates a few other changes:
Two issues that I am not sure how to deal with:
Minor issues (both with patching and chemical.yaml generally):
Finally, another issue we might we need to tackle:
Finally, this is currently a WIP ... the machinery works but some of the scorefunctions (fa_dun in particular) do not like patched residues.