PyMOL>delete all
PyMOL>fragment methane
 Executive: object "methane" created.
PyMOL>remove hydro and not first hydro
 Remove: eliminated 3 atoms in model "methane".
PyMOL>alter all,segi='METH'
 Alter: modified 2 atoms.
PyMOL>alter hydro, alt='A'
 Alter: modified 1 atoms.
PyMOL>alter hydro, text_type='Htype'
 Alter: modified 1 atoms.
PyMOL>alter all, ss='L'
 Alter: modified 2 atoms.
PyMOL>alter all, b=rank
 Alter: modified 2 atoms.
PyMOL>alter all, q=index
 Alter: modified 2 atoms.
PyMOL>alter all, elec_radius = vdw+1.0
 Alter: modified 2 atoms.
PyMOL>cmd.label2("all","'some text'")
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> 'some text'
H01 -> 'some text'
PyMOL>cmd.label2("all","'some text '+'more text'")
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> 'some text more text'
H01 -> 'some text more text'
PyMOL>cmd.label2("all"," 'some text ' + 'more text' ")
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> 'some text more text'
H01 -> 'some text more text'
PyMOL>cmd.label2("all","model")
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> 'methane'
H01 -> 'methane'
PyMOL>cmd.label2("all","resv")
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> '9'
H01 -> '9'
PyMOL>cmd.label2("all","model+' index:'+index+ ' type:' +type")
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> 'methane index:1 type:ATOM'
H01 -> 'methane index:2 type:ATOM'
PyMOL>cmd.label2("all","segi+' '+chain+' '+resi+'`'+resn+' '+str(resv)+name+'`'+alt")
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> 'METH E 9`LEU 9C01`'
H01 -> 'METH E 9`LEU 9H01`A'
PyMOL>cmd.label2("all","str(index)+' '+str(rank)+' '+str(ID)")
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> '1 0 0'
H01 -> '2 1 1'
PyMOL>cmd.label2("all","flags")
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> '8000000'
H01 -> '8000000'
PyMOL>cmd.label2("all","str(numeric_type)+text_type")
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> '0'
H01 -> '0Htype'
PyMOL>cmd.label2("all","str(formal_charge) + ' ' + str(partial_charge)")
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> '0 0.000'
H01 -> '0 0.000'
PyMOL>cmd.label2("all","ss + str(cartoon) + str(color)")
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> 'L026'
H01 -> 'L029'
PyMOL>cmd.label2("all",'str(valence) + " " + str(geom)')
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> '4 4'
H01 -> '1 1'
PyMOL>cmd.label2("all",'str(elec_radius)+" "+str(vdw)+" "+b+" "+q+" "+elem')
PyMOL>cmd.iterate("all",r"print name +' -> ' + '\'' + label + '\''")
C01 -> '2.80 1.80 0.00 1.00 C'
H01 -> '2.10 1.10 1.00 2.00 H'
PyMOL>print "END-LOG"
