On Mar 28, 2004, at 2:49 PM, Miguel wrote:


Jmol v10 prerelease 8 is now available at:

http://jmol.sourceforge.net/betatest/

The text below is from the web page.

Thanks,
Miguel

Jmol version 10 pre-release 8 was released on 28 Mar 2004. This release
includes the following enhancements:


    * support for --script and -s as a script parameter to
      the Jmol application

Miguel,

Unfortunately, when I attempt to do the following:

java -jar Jmol.jar -script scriptFileName

Jmol appears to be trying to read the script file, which is better than before. However, I get the following output on the java console:

[snowdancer:pfigDev/testJmol/testJMolScripts] jcohn% jm -script robetta.rasmol
using Smarter Model Adapter
(C) 2004 The Jmol Development Team
Jmol Version 10pre8 2004/03/28 20:31
java.vendor:Apple Computer, Inc.
java.version:1.4.2_03
os.name:Mac OS X
JmolViewer.setShapeProperty(Labels,color,null)
propertyName=color
value=null
JmolViewer.setShapeProperty(Sticks,color,null)
propertyName=color
value=null
Graphics3D.setSize(640,10)
getting ready to allocateBuffers
returning from Graphics3D.setSize()
Graphics3D.setSize(496,441)
getting ready to allocateBuffers
returning from Graphics3D.setSize()
display modelID=0
JmolViewer.setShapeProperty(Measures,clear,null)
propertyName=clear
value=null
FileManager.openFile(robetta.rasmol)
SmarterModelAdapter:The model resolver thinks:null
error opening /Users/jcohn/ccs3/pfigDev/testJmol/testJMolScripts/robetta.rasmol
unrecognized file format
openFile(robetta.rasmol) 11 ms
Executing script: cript


------------

The contents of the script file in this case is very simple:

zap
load "robettaTest.pdb"
select :A
color blue

It works fine if I interactively choose the script option and issue the command at the prompt:

script robetta.rasmol

This script also works with rasmol. Could you post an example of a script which works with the -script option.

Judith Cohn
Santa Fe, NM







-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to