I am trying to run the mkmov1.pml script from the Pymol page.
I am stopped at the line

/for i in glob("png/*"):os.system("convert "+i+"  "re.sub("png", "tga", 
re.sub("_",".",i)))

I get the errors:
Traceback (innermost last):
  File "/apps/pymol/modules/pymol/parser.py", line 98, in parse
    exec(com2[nest],pymol_names,pymol_names)
  File "<string>", line 1
     for i in glob("png/*"): os.system("convert "+i+"
                                                    ^
 SyntaxError: invalid token
PyMOL>"+re.sub("png","tga",re.sub("_",".",i)))
Traceback (innermost last):
  File "/apps/pymol/modules/pymol/parser.py", line 234, in parse
    exec(com2[nest],pymol_names,pymol_names)
  File "<string>", line 1
     "+re.sub("png","tga",re.sub("_",".",i)))
                 ^
 SyntaxError: invalid syntax

Without knowing python, I haven't been able to figure out what is wrong
with the input line.  Can anyone help?

Thanks!
Trissa

Reply via email to