-
Notifications
You must be signed in to change notification settings - Fork 383
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
Quaternary Symmetry Detection Broken with MMTF #517
Comments
Hi Aleix! Is this using the latest master? I think I found this bug (Wednesday) and fixed it Thursday. |
As a side discussion related to this issue, should we make sure that tests do not change the defaults unless they are testing for a specific detail of the non-default options? In this case, the format from which the structure is parsed should not make a difference in the symmetry detection. Otherwise, there is a problem with the parsing. |
Thanks @abradle. I was unlucky and had not pulled your fix yet. Everything working fine now. |
Aweseome! Yes I agree with that rule. |
I will change the tests to use the default (MMTF) to make sure future changes in the format work fine with this part. |
I am not sure what changed since Friday, but |
Sorry - forgot about this - thanks for assigning. Will look into it (seems to be to do with chem comps for seq res groups). |
Fix the bug and clean up the logic of adding seq res groups biojava#517
Some tests do not pass, issue #517 needs to be fixed.
@abradle pull request #538 does not fully fix this issue. I switched all tests of As a hint, I think something of the chemical component information is not populated when generating the biological assemblies from symmetry mates and a Thank you for looking at it and sorry to be insisting. |
I've reassigned this one to me. I've been wanting to have a look at it for a while (it breaks the biojava build right now), but haven't got round to do it. I'll try in the next days. |
One additional issue I'm seeing right now: the tests outcome is different if run from maven than if they are run altogether in eclipse. That's due to issue #103 i.e. the singleton problem in AtomCache biting yet again. For this particular case, what happens is that mmcif is used for some tests and then (if running in the same JVM) later tests reuse that state of the AtomCache without resetting it to mmtf. |
Correction: the singleton problem is in |
I tracked down the issue in I've extended |
Using structures downloaded with the
MMTF
format break theQuatSymmetryDetector
algorithm. It is related to the chemical component information. The tests explicitly set the format toMMCIF
, so that is why the bug was not noticed when changingMMTF
to default.Here the stacktrace when the line
cache.setUseMmCif(true);
inTestQuatSymmetryDetection
orDemoOrientBioAssembly
is commented out (MMTF
used):The text was updated successfully, but these errors were encountered: