Hi JD,
Chimera does its PDB parsing in the C++ layer (the PDBio class in the Python layer).  There is a file named PDB.py in the mmCIF-parsing module, but it's not for parsing PDB files.  Perhaps if you described why you need Python PDB parsing I could suggest options -- using PDBio possibly being one of them.

--Eric

                        Eric Pettersen

                        UCSF Computer Graphics Lab

                        pett@cgl.ucsf.edu

                        http://www.cgl.ucsf.edu


On Jan 29, 2007, at 1:49 PM, Jean Didier Pie Marechal wrote:

Hello everyone,

a short question. What is the right call for importing the pdbparser module in the chimera python shell? I found the PDB.py module in the site-package mmlib, but I don't know how to import it...

Thanks a lot,

JD


Dr. Jean-Didier Maréchal
Professor Lector
Unitat de Química Física
Departament de Química
Universitat Autònoma de Barcelona
Edifici C.n.
08193 Cerdonyola (Barcelona)
Tel: +34.935814988
e-mail: JeanDidier.Marechal@uab.es

_______________________________________________
Chimera-users mailing list
Chimera-users@cgl.ucsf.edu
http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users