On Tue, 25 Dec 2007 21:20:05 -0500, "Golagani, Ravi" <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using the latest release jmol-11.2.14 (applet) in our project. When an > atom consists PDB Insertion code as '100A' it shows it with some illegal > character in tooltip. I'm passing the correct Insertion code in Jmol > format (i.e '100^A'). Also it sends the same illegal character to > JmolStatusListener.notifyAtomPicked(int atomIndex, String strInfo) method > too. Please check the screenshot taken with Jmol application. > > http://img101.imageshack.us/my.php?image=jmolinscodeerrorex2.jpg > > It doesn't happen in old version & latest pre-release 11.3.64. > > btw, The org.jmol.viewer.Viewer.getAtomSequenceCode() method is not a > public method. Is there any way to get the atom's sequence code from > Viewer class without parsing 'strInfo' in method?
In 11.3.64 several more methods are public. Specifically, Viewer.getModelSet() and modelSet.getAtomAt() and getAtoms() These are in org.jmol.modelset.AtomCollection.java, but accessible via a modelSet. Once you have the atom, you can use org.jmol.modelset.Atom.getInsertionCode(), which is a public method. I remember fixing some bug like this, but it should all be right in 11.3.64. It probably was never fixed in 11.2. Since 11.4 is just around the corner, it may never be fixed in 11.2. > > > thanks, > Ravi Golagani ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

