Hi,
Thank you all for your hard work with JMol.
We recently upgraded from Jmol 11.7.16 to 12.0.RC23 and discovered that
some functionality of the 'load' command is missing. I have also
confirmed that the problem remains in the latest SVN version (labeled as
12.0.RC25_dev.)
The documentation states that 'load "" { 3 3 3 }' reloads the file and
copies the unit cell 3x3x3 times. However, in 11.7.16 one could do this
also with data that was entered via the data command. But in the new
versions this instead gives the error: "script ERROR: cannot find string
data".
Steps to repeat the problem:
1. Open jmol and enter script console.
2. Use "data" command to enter a system. E.g.,
==============
data "model example"
2
testing
C 1 1 1
O 2 2 2
end "model example";
==============
3. Issue a load command:
load "" {3 3 3}
Result on newer versions: "script ERROR: cannot find string data".
Result on e.g. 11.7.16: no error (but also no visible change in this
simple example since no supercell boundary is set).
We have found a workaround. By issuing
set defaultLattice {3 3 3}
before one issues the data command gives the same effect as the 'load ""
{3 3 3}' did afterwards. Still, I think it would be nice to not break
this script syntax when people upgrade.
Thanks,
Rickard
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers