"Egon Willighagen" <[EMAIL PROTECTED]> wrote:
> > I got one from Bioclipse SVN, but without much success in using it...
>
> That's the most up to date one. What are the errors you get?
>
Well, the initial error is a compile one, since it requires getModelIndex
method, which does not exist in the SVN file.
---
The type CdkJmolAdapter.StructureIterator must implement the inherited
abstract method JmolAdapter.StructureIterator.getModelIndex
---
Not sure what getModelIndex should do, apparently my first guess is far from
the truth
public int getModelIndex() {
return 0;
}
since with this implementation the viewer doesn't work properly:
viewer.setIntProperty(_version,1101050) - integer variable defined
ModelSet: haveSymmetry:false haveUnitcells:false haveFractionalCoord:false
1 model in this collection. Use getProperty "modelInfo" or getProperty
"auxiliaryInfo" to inspect them.
java.lang.NullPointerException
at org.jmol.modelset.ModelLoader.iterateOverAllNewModels(Unknown Source)
at org.jmol.modelset.ModelLoader.initializeModelSet(Unknown Source)
at org.jmol.modelset.ModelLoader.<init>(Unknown Source)
at org.jmol.modelset.ModelManager.setClientFile(Unknown Source)
at org.jmol.viewer.Viewer.openClientFile(Unknown Source)
Thanks for the help,
Nina
> Egon
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Cdk-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cdk-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user