I do wish I hadn't missed this one.... Sorry Daniel -- it went under my radar. This is what we just fixed. Oy, April!
On Thu, Apr 8, 2010 at 9:42 AM, Daniel Lundin <daniel.lun...@molbio.su.se>wrote: > Hi, > > I am using rotateSelected and translateSelected to superpose two protein > molecules. My code works in recent 11.9 (currently, I'm using 11.9.17) > versions of Jmol, but not in 12.0.RC3 nor .RC4. > > In 12.0.RC3 the below script fails silently, while in 12.0.RC4 I get an > error message: "script-FEL: unrecognized command > ----line 18 command 18 of > > file:///home/dl/projects/r2_evolution/structural_alignment/c.7.1.d/test.spt: > >> rotateSelected << molecular {0.17656176 -0.4046893 0.745402 > 0.49942806}" > > ..and similar for translateSelected. > > Here's the script, which requires the 1l1l.pdb and 1xjj.pdb files in the > same directory as the script: > > load 1l1l.pdb > load append 1xjj.pdb > frame * > select * > wireframe off > cpk off > select :A/1 > cartoon > color group > select :A/2 > cartoon > color [x009999] > # 1l1lA - 1xjjA > r = [[ -0.43879509947, -0.88745464558, -0.14100749175 ],\ > [0.60164401412,-0.17359627068, -0.7796722485 ], [ 0.66744538425,\ > -0.42695267519, 0.61010496818 ]] > rq = quaternion(r) > t = { -54.380571529, 78.315030918, 80.097824409 } > rotateSelected MOLECULAR @rq > translateSelected @t > > /D > > > -- > Daniel Lundin > > Department of Molecular Biology & Functional Genomics > Arrhenius Laboratories for Natural Sciences > Stockholm University, SE-106 91 Stockholm, Sweden > > tel. +46 (0)8 16 41 95, mobile: +46 (0)708 123 922, fax. +46 (0)8 16 64 88 > > Email: daniel.lun...@molbio.su.se > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > 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
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users