Point taken. Right -- what you were doing was a hack due to a bug that was
there -- that some of the load defaults were not being processed with string
data. The model data string is no longer stored, mostly because it could be
very large. But it's a valid point.

Bob

On Mon, Jul 12, 2010 at 4:51 PM, Rickard Armiento
<reply-2...@armiento.net>wrote:

> 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
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
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
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to