From: Wayne D. <wde...@ya...> - 2008-10-22 04:14:33
|
Hi, I was trying to learn about isosurfaces and ran into something baffling concerning the pound sign in Jmol since I always thought everything after it was not used. If I access the Jmol console for any jmol window and enter the following line of commands: isosurface resolution 0 molecular translucent;# ({1:1000}) ({null})# MODEL({0}); then jmol uses the stuff after the pound sign 1 through 1000 to make a surface, with what appears is atoms 1 through 1000. However, the page in jmol interactive script documentation about the comment indicator the pound sign (at http://chemapps.stolaf.edu/jmol/docs/?search=%23&ver=11.8&#comment) clearly states Jmol should ignore everything after the pound sign. Here is the pertinent text: "Anything following '#' up until the end of a statement is ignored by Jmol with the following two exceptions. (A statement is terminated by a semicolon ";" or a newline.) " The exceptions are #js or #jc which aren't used in the isosurface command that I was looking at. And it is not simply skipping the information in between the two pound signs because with the ethene example (at http://tinyurl.com/5hgluk) entering the line"isosurface resolution 0 molecular translucent; MODEL({0}); " gives a different result for surface than with original command and also throws an error in the yellow box below. I also see nothing in the isosurfae documentation about pound signs. Is the script documentation for the pound sign and isosurfaces lacking this information that explainins what this command is doing or am I missing something simple? Thanks, Wayne |