Author: bugman Date: Thu Feb 7 11:30:01 2008 New Revision: 4923 URL: http://svn.gna.org/viewcvs/relax?rev=4923&view=rev Log: Converted the Molmol tensor_pdb() function to the new relax design. Modified: 1.3/generic_fns/molmol.py Modified: 1.3/generic_fns/molmol.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/molmol.py?rev=4923&r1=4922&r2=4923&view=diff ============================================================================== --- 1.3/generic_fns/molmol.py (original) +++ 1.3/generic_fns/molmol.py Thu Feb 7 11:30:01 2008 @@ -214,15 +214,12 @@ pipe_write("XMacStand ribbon.mac") -def tensor_pdb(run=None, file=None): - """Display the diffusion tensor geometric structure.""" - - # Arguments. - run = run - - # Test if the run exists. - if not run in relax_data_store.run_names: - raise RelaxNoPipeError, run +def tensor_pdb(file=None): + """Display the diffusion tensor geometric structure. + + @param file: The name of the PDB file containing the tensor geometric object. + @type file: str + """ # To overlay the structure with the diffusion tensor, select all and reorient to the PDB frame. pipe_write("SelectAtom ''")