Author: bugman Date: Tue Feb 5 09:52:25 2013 New Revision: 18422 URL: http://svn.gna.org/viewcvs/relax?rev=18422&view=rev Log: Merged revisions 18420 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk ........ r18420 | bugman | 2013-02-05 09:51:13 +0100 (Tue, 05 Feb 2013) | 6 lines Bug fix for the diffusion tensor PDB creation in the dauvergne_protocol model-free auto-analysis. The call to the structure.create_diff_tensor_pdb user function now only occurs if structural data is present. ........ Modified: branches/frame_order_testing/ (props changed) branches/frame_order_testing/auto_analyses/dauvergne_protocol.py Propchange: branches/frame_order_testing/ ------------------------------------------------------------------------------ --- svnmerge-integrated (original) +++ svnmerge-integrated Tue Feb 5 09:52:25 2013 @@ -1,1 +1,1 @@ -/trunk:1-18419 +/trunk:1-18421 Modified: branches/frame_order_testing/auto_analyses/dauvergne_protocol.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/auto_analyses/dauvergne_protocol.py?rev=18422&r1=18421&r2=18422&view=diff ============================================================================== --- branches/frame_order_testing/auto_analyses/dauvergne_protocol.py (original) +++ branches/frame_order_testing/auto_analyses/dauvergne_protocol.py Tue Feb 5 09:52:25 2013 @@ -931,9 +931,10 @@ self.interpreter.molmol.macro_write(data_type='time_slow', dir=dir, force=True) self.interpreter.molmol.macro_write(data_type='rex', dir=dir, force=True) - # Create a diffusion tensor representation of the tensor. - dir = self.results_dir + 'final' - self.interpreter.structure.create_diff_tensor_pdb(file="tensor.pdb", dir=dir, force=True) + # Create a diffusion tensor representation of the tensor, if a PDB file is present. + if hasattr(cdp, 'structure'): + dir = self.results_dir + 'final' + self.interpreter.structure.create_diff_tensor_pdb(file="tensor.pdb", dir=dir, force=True)