First the problem:
If I draw a structure by loading a file "local4.cif" as usual like:
jmolApplet(600,'load "local4.cif" { 3 3 3 }; etc...and then I change the contents of my file "local4.cif" and redraw it, the drawing remains the same even though when I "view" the file from the jmol window the new contents are correctly listed
Now Dave's solution was simply to replace the call to jmolApplet with...
jmolApplet(600,'load
"local4.cif?$id[0]" { 3 3 3 }; etc...
where $id[0] is a number unique for each structure.
Surprisingly (?) jmol doesn't complain about this ?$id[0] appendix to the
file name. Dave explains it like this:The ?$id[0] is different for each structure, so stops the caching, but
everything after the ? is part of the GET query string which is not used by Jmol.
Thanks Dave. I was surprised and delighted that something so simple worked. Alan.
_____________________________________________________________Dr Alan Hewat, ILL Grenoble, FRANCE<[EMAIL PROTECTED]>fax+33.476.20.76.48+33.476.20.72.13 (.26 Mme Guillermet) http://www.ill.fr/dif/people/hewat/_____________________________________________________________------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/_______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

