Andrea,

Adding a new file extension to PyMOL isn't easy -- unless you can convert
your molecule into something PyMOL already understands, it will take coding
at the C level.

What kind of content do ".nmr" file contain?  If this is simply a matter of
visualizing NMR restraints, then it would be possible to write a Python
program that reads the .nmr files, converts them to raw PyMOL geometries
(CGOs), and loads them as a CGO object.

Cheers,
Warren


--
Warren L. DeLano, Ph.D.                     
Principal Scientist

. DeLano Scientific LLC  
. 400 Oyster Point Blvd., Suite 213           
. South San Francisco, CA 94080    
. Biz:(650)-872-0942  Tech:(650)-872-0834     
. Fax:(650)-872-0273  Cell:(650)-346-1154
. mailto:war...@delsci.com      
 

> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net 
> [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of 
> Andrea Spitaleri
> Sent: Tuesday, December 28, 2004 3:32 AM
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] new ext file
> 
> Hi,
> sometimes I enjoy coding in Python and Perl. I am having fun 
> to add to Perlmol a module for reading a my own extension 
> file (*.nmr) I would like to do the same with Python. Is 
> there any tutorial where it is explained how to add a new 
> extension file in pymol? I mean, how to make a script for 
> reading a particular file.
> 
> All the best
> 
> andrea
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide Read honest & 
> candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 



Reply via email to