I think it's just something to add to the replacement text. script = script.replace(/boundingbox/g,"boundbox")
I really don't want to add any Chime synonyms at this point. Bob 2010/4/25 Angel Herráez <angel.herr...@uah.es> > While playing with Bob's new JS to convert Chime pages into Jmol, I have > found an issue. > > Most of my old Chime pages used scripts saved from RasMol. These SPT files > all have a line > with > set boundingbox off > at which Jmol chokes. > This line is part of the "state" that RasMol saved. The doc for RasMol > 2.7.1 only mentions > "boundbox", but it was writing "boundingbox" into state files. The latest > RasMol (RasWin) I > have, 2.7.3, still does this. > > I realize this is rather old issue, but maybe "boundingbox" could be added > as a synonym of > "boundbox" and the problem in feeding Jmol with many existing Chime scripts > would so be > avoided. > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users > -- 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
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users