Miguel Howard wrote:

the chime2jmol.pl script converts embed tags to applets; it does not


convert rasmol scripts to Jmol scripts (please correct me if I am
wrong). so it won't help this situation, unfortunately.




it has converted my semicolon-less scripts to scripts containing
semicolons, and it would be easy to implement.



so there *is* a perl script to convert chime/rasmol scripts to jmol? my
apologies; I did not know suc ha thing existed.



Hmmm ... actually I agree with Tim ... there is no such conversion going
on in the chime2jmol.pl script that I am familiar with. :-)


$script= convertSemicolonNewLine($script);
because of this, I had thought that a semicolon is required in Jmol scripts.

I suggest a

sub convertSlangStrict {
my $text= shift;
$text=~ s/(\d+)([a-z])(?!\])\b/$1:$2/ig;
return $text;
}

and if it is an old script, that is no
#!rasmol -version 2.7.2.2
header (this use of version parameter has to be implemented in RasMol).
Regards, Jan




------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to