'#' seems to be incorrect:
It is not incorrect.
If you post your script and how you use it we might be able to help.
Also, if you have something in you $HOME/.pymolrc or $HOME/.pymolrc.py
you should try temporarily moving these files elsewhere and trying again.
Something may have gone wrong in one of those files, it happened to me
before.
Zac
I didn't properly test the '#' character.
It works in the external GUI and in standard scripts like in pml files.
But, '#' doesn't work in p1m file.
Error: unrecognized keyword: #second
The # line involves an error but the script goes on.
I join an example where I removed the embedded lines with the structure
because the e-mail size was too large for the mailist server.
--
Sébastien Moretti
http://www.igs.cnrs-mrs.fr/
CNRS - IGS
31 chemin Joseph Aiguier
13402 Marseille cedex
dss 2HCK
hide all
create nt, resn a+c+g+t+u+n+r+y+m+k+s+w+h+b+v+d
show cartoon, nt
show sticks, nt
color slate, nt
create aa, 2HCK and ! resn a+c+g+t+u+n+r+y+m+k+s+w+h+b+v+d
show surface, aa
color gray, aa
color yellow, het
show stick, het
hide (solvent)
select THR__T219T, resi 219 and ! het and chain a
set_color 219c = [0, 1, 0]
color 219c, THR__T219T
select THR__T285T, resi 285 and ! het and chain a
set_color 285c = [0, 1, 0]
color 285c, THR__T285T
select SER__S101I, resi 101 and ! het and chain a
set_color 101c = [1, 0.3, 0]
color 101c, SER__S101I
select PRO__P507Q, resi 507 and ! het and chain a
set_color 507c = [1, 0.3, 0]
color 507c, PRO__P507Q
delete 2HCK
zoom aa
center aa
set_name aa, 2HCK
set_name 2HCK, 2HCKa
select AaA, none
#second essai
delete AaA