Skip to content
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

CLI crash on 3spu #206

Closed
josemduarte opened this issue Jan 29, 2018 · 5 comments
Closed

CLI crash on 3spu #206

josemduarte opened this issue Jan 29, 2018 · 5 comments
Labels
Milestone

Comments

@josemduarte
Copy link
Contributor

josemduarte commented Jan 29, 2018

In interface calculation. Log:

2018-01-29 07:57:34 ERROR - Error! Empty list of atoms
2018-01-29 07:57:34 ERROR - Unexpected error. Stack trace:
java.lang.ArrayIndexOutOfBoundsException: 0
        at org.biojava.nbio.structure.contact.BoundingBox.<init>(BoundingBox.java:79)
        at org.biojava.nbio.structure.xtal.UnitCellBoundingBox.setBb(UnitCellBoundingBox.java:76)
        at org.biojava.nbio.structure.xtal.UnitCellBoundingBox.setBbs(UnitCellBoundingBox.java:64)
        at org.biojava.nbio.structure.xtal.CrystalBuilder.calcInterfacesCrystal(CrystalBuilder.java:239)
        at org.biojava.nbio.structure.xtal.CrystalBuilder.getUniqueInterfaces(CrystalBuilder.java:203)
        at eppic.Main.doFindInterfaces(Main.java:271)
        at eppic.Main.run(Main.java:952)
        at eppic.Main.run(Main.java:921)
        at eppic.Main.main(Main.java:895)

Similar issue in 1uon

@josemduarte josemduarte added this to the 3.0.4 milestone Jan 29, 2018
@josemduarte
Copy link
Contributor Author

Possibly same issue as #186

@josemduarte
Copy link
Contributor Author

The issue here is that all waters are assigned to a separate author chain id "W". When getting the atom array out of it, 0 atoms are returned. Solution should be skipping pure water chains.

@josemduarte
Copy link
Contributor Author

The issue is in biojava 4.x. The CrystalBuilder constructor should handle how to initialise the numChainsAu and skip pure water chains. In biojava 5 this is solved, since poly and non-poly chains are clearly separated. This issue would go away when upgrading to biojava 5.

@josemduarte josemduarte modified the milestones: 3.0.4, 3.1 Jan 30, 2018
@josemduarte
Copy link
Contributor Author

Same issue as #212

@josemduarte
Copy link
Contributor Author

Fixed by move to biojava 5, see biojava5 branch

@josemduarte josemduarte modified the milestones: 3.1, 3.0.5 Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant