Author: bugman Date: Thu Dec 7 01:39:30 2006 New Revision: 2916 URL: http://svn.gna.org/viewcvs/relax?rev=2916&view=rev Log: Renamed all instances of 'create_tensor_pdb' to 'create_diff_tensor_pdb'. Modified: 1.3/generic_fns/structure.py 1.3/prompt/molmol.py 1.3/prompt/pymol.py 1.3/prompt/structure.py 1.3/sample_scripts/diff_tensor_pdb.py Modified: 1.3/generic_fns/structure.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure.py?rev=2916&r1=2915&r2=2916&view=diff ============================================================================== --- 1.3/generic_fns/structure.py (original) +++ 1.3/generic_fns/structure.py Thu Dec 7 01:39:30 2006 @@ -247,8 +247,8 @@ return R - def create_tensor_pdb(self, run=None, scale=1.8e-6, file=None, dir=None, force=0): - """The pdb loading function.""" + def create_diff_tensor_pdb(self, run=None, scale=1.8e-6, file=None, dir=None, force=0): + """Create the PDB representation of the diffusion tensor.""" # Arguments. self.scale = scale Modified: 1.3/prompt/molmol.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/molmol.py?rev=2916&r1=2915&r2=2916&view=diff ============================================================================== --- 1.3/prompt/molmol.py (original) +++ 1.3/prompt/molmol.py Thu Dec 7 01:39:30 2006 @@ -256,7 +256,7 @@ In executing this user function, a PDB file must have previously been loaded into this run, a geometric object or polygon representing the Brownian rotational diffusion tensor will be overlain with the loaded PDB file and displayed within Molmol. The PDB file containing the - geometric object must be created using the complementary 'pdb.create_tensor_pdb()' user + geometric object must be created using the complementary 'pdb.create_diff_tensor_pdb()' user function. To display the diffusion tensor, the multiple commands will be executed. To overlay the Modified: 1.3/prompt/pymol.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/pymol.py?rev=2916&r1=2915&r2=2916&view=diff ============================================================================== --- 1.3/prompt/pymol.py (original) +++ 1.3/prompt/pymol.py Thu Dec 7 01:39:30 2006 @@ -257,7 +257,7 @@ In executing this user function, a PDB file must have previously been loaded into this run, a geometric object or polygon representing the Brownian rotational diffusion tensor will be overlain with the loaded PDB file and displayed within PyMOL. The PDB file containing the - geometric object must be created using the complementary 'pdb.create_tensor_pdb()' user + geometric object must be created using the complementary 'pdb.create_diff_tensor_pdb()' user function. The tensor PDB file is read in using the command: Modified: 1.3/prompt/structure.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/structure.py?rev=2916&r1=2915&r2=2916&view=diff ============================================================================== --- 1.3/prompt/structure.py (original) +++ 1.3/prompt/structure.py Thu Dec 7 01:39:30 2006 @@ -38,7 +38,7 @@ self.__relax__ = relax - def create_tensor_pdb(self, run=None, scale=1.8e-6, file='tensor.pdb', dir=None, force=0): + def create_diff_tensor_pdb(self, run=None, scale=1.8e-6, file='tensor.pdb', dir=None, force=0): """Create a PDB file to represent the diffusion tensor. Keyword Arguments @@ -137,7 +137,7 @@ # Function intro text. if self.__relax__.interpreter.intro: - text = sys.ps3 + "structure.create_tensor_pdb(" + text = sys.ps3 + "structure.create_diff_tensor_pdb(" text = text + "run=" + `run` text = text + ", scale=" + `scale` text = text + ", file=" + `file` @@ -166,7 +166,7 @@ raise RelaxBinError, ('force flag', force) # Execute the functional code. - self.__relax__.generic.structure.create_tensor_pdb(run=run, scale=scale, file=file, dir=dir, force=force) + self.__relax__.generic.structure.create_diff_tensor_pdb(run=run, scale=scale, file=file, dir=dir, force=force) def read_pdb(self, run=None, file=None, dir=None, model=None, load_seq=1): Modified: 1.3/sample_scripts/diff_tensor_pdb.py URL: http://svn.gna.org/viewcvs/relax/1.3/sample_scripts/diff_tensor_pdb.py?rev=2916&r1=2915&r2=2916&view=diff ============================================================================== --- 1.3/sample_scripts/diff_tensor_pdb.py (original) +++ 1.3/sample_scripts/diff_tensor_pdb.py Thu Dec 7 01:39:30 2006 @@ -12,7 +12,7 @@ # Create the tensor PDB file. tensor_file = 'tensor.pdb' -structure.create_tensor_pdb(name, file=tensor_file, force=1) +structure.create_diff_tensor_pdb(name, file=tensor_file, force=1) # PyMOL. pymol.view(name)