Hello,

in past versions of JSmol, I have used the "write PDB" command and parsed
its textual output to create PDB files on my website, without actually
saving any files to disk until the server reads the string returned by
JSmol. However, as of version 14.2.2_2014.06.29, I cannot do this anymore,
since the command "write PDB" returns only the string "JPG" when executed.
This is a bit hard to clarify with just these words, so I will paste my
output from the Chrome console:

Jmol.scriptWaitOutput(jmolApplet, "write PDB")
"2,scriptStatus,0,script 30 started
4,scriptStatus,0,Script completed
6,scriptStatus,0,Jmol script terminated
5,scriptTerminated,1,Jmol script terminated successfully
 1,scriptStarted,30,write PDB
 3,scriptEcho,0,JPG

This behavior also occurs when I use JSmol's console from its graphical
menu, and with "write XYZ", "write JSON", and "write JMOL". The other
arguments for writing formats described in the Jmol interactive scripting
documentation still seem to work as expected, however (XYZRN and XYZVIB do
work, but XYZ does not.)

The test system I am using is methane directly fetched from NCI using
JSmol's search options. I have also tried urea and nicotine from NCI, with
the same results. On the version on the St. Olaf test site (14.1.16
(2014-05-29)), the write PDB command executes correctly on all the test
systems listed previously.

Thank you for your time,
Vinushka Schalk
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to