Thanks!
problem solved :-)
A.
On 25 Sep 2006, at 21:21, Bob Hanson wrote:
> ah, YES, "alpha polymers" -- this is fixed.
>
> Andreas Prlic wrote:
>
>> Hi!
>>
>> On the latest svn checkout from trunk:
>> loading a simple CA-only PDB file into Jmol via an applications loads
>> and displays the atoms fine:
>>
>> String pdb = "ATOM 2 CA ALA 1 43.888 10.862 -6.231
>> 1 0\n"+
>> "ATOM 7 CA PRO 2 46.689 12.815
>> -4.561
>> 1 0\n"+
>> "ATOM 14 CA ARG 4 44.872 15.621
>> -2.730
>> 1 0\n"+
>> "ATOM 25 CA LYS 5 48.356 17.146
>> -2.714
>> 1 0\n"+
>> "ATOM 34 CA PHE 6 49.089 18.463
>> 0.778
>> 1 0\n"+
>> "ATOM 45 CA PHE 7 48.167 22.143
>> 0.886
>> 1 0\n";
>>
>>
>> viewer.openStringInline(pdb);
>>
>> but adding a
>> viewer.evalString("select *; cartoon on;");
>>
>> throws
>>
>> apple.awt.EventQueueExceptionHandler Caught Throwable :
>> java.lang.ClassCastException
>> java.lang.ClassCastException
>> at
>> org.jmol.viewer.CartoonRenderer.initializeChain(CartoonRenderer.java:
>> 128)
>> at
>> org.jmol.viewer.CartoonRenderer.renderMpspolymer(CartoonRenderer.java:
>> 105)
>> at org.jmol.viewer.MpsRenderer.render(MpsRenderer.java:43)
>> at org.jmol.viewer.ShapeRenderer.render(ShapeRenderer.java:60)
>> at org.jmol.viewer.FrameRenderer.render(FrameRenderer.java:63)
>> at org.jmol.viewer.RepaintManager.render(RepaintManager.java:155)
>> at org.jmol.viewer.Viewer.getImage(Viewer.java:1953)
>> at org.jmol.viewer.Viewer.renderScreenImage(Viewer.java:1937)
>> at JmolTest$JmolPanel.paint(JmolTest.java:144)
>> at javax.swing.JComponent._paintImmediately(JComponent.java:4707)
>> at javax.swing.JComponent.paintImmediately(JComponent.java:4489)
>> at
>> javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:436)
>> at
>> javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemE
>> ve
>> ntQueueUtilities.java:117)
>> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
>> at
>> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThr
>> ea
>> d.java:234)
>> at
>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea
>> d.
>> java:184)
>> at
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
>> at
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
>> at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
>>
>> and the application freezes.
>> I know it is not possible to do cartoons for CA-only,
>> but I think it should not crash and do some sort of
>> error message via JmolStatusListener ...
>> Can you have a look?
>>
>> Andreas
>>
>> ----------------------------------------------------------------------
>> -
>>
>> Andreas Prlic Wellcome Trust Sanger Institute
>> Hinxton, Cambridge CB10 1SA, UK
>> +44 (0) 1223 49 6891
>>
>>
>> ----------------------------------------------------------------------
>> ---
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys -- and earn
>> cash
>> http://www.techsay.com/default.php?
>> page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Jmol-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>>
>>
>
> -----------------------------------------------------------------------
> --
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Jmol-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>
-----------------------------------------------------------------------
Andreas Prlic Wellcome Trust Sanger Institute
Hinxton, Cambridge CB10 1SA, UK
+44 (0) 1223 49 6891
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers