> But I get the following errors. Could anyone please help me in
> overcoming this error?
>
> Traceback (most recent call last):
>    File "C:\Program Files (x86)\PyMOL\PyMOL/modules\pymol\parser.py",
> line 338, in parse
>      parsing.run_file(path,self.pymol_names,self.pymol_names)
>    File "C:\Program Files (x86)\PyMOL\PyMOL/modules\pymol\parsing.py",
> line 455, in run_file
>      execfile(file,global_ns,local_ns)
>    File "script.py", line 33

This is a traceback without the actual error line. If I run your script, 
I get:

   File "script.py", line 10
      for k in range(0,len(list1)):
     ^
  IndentationError: unexpected indent

Python requires correct indentation. So if you see the same error 
message, fix your indentation and try again.

Cheers,
   Thomas

-- 
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to