-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standardise crosslinking classes #214
Comments
Agreed. I'd be very wary of making major changes to either class though unless we have good coverage first - otherwise we don't know if we broke something. |
I agree. There's a lot to untangle there too. I'll start documenting the things that confuse me as I uncover them. For some reason, |
Absolutely, it shouldn't be. However, the slope is set to zero, so it does Riccardo Pellarin, PhDInstitut Pasteur On Tue, Oct 11, 2016 at 8:46 PM, Seth Axen [email protected] wrote:
|
I suggest deleting PMI::restraints::AtomicCrossLinkingRestraint and just calling the core code (which references isd::AtomicCrossLinkingRestraint) using a flag from CrossLinkingMSRestraint. Other than a small change in the scoring function, the data structure should be the same. This is my fault; I added a bunch of debugging stuff to the Atomic restraint which isn't needed. |
IMP.pmi.restraints.crosslinking.AtomicCrossLinkMSRestraint
andIMP.pmi.restraints.crosslinking.CrossLinkingMassSpectrometryRestraint
share a great deal of code and do similar things but have trivial differences in implementation and variable names. It would probably be worthwhile to unify the classes by either having a single class with a flag that differentiates between the two uses or a base class that handles all common functionality and children that differentiate the two restraint uses.The text was updated successfully, but these errors were encountered: