mailr18813 - in /branches/frame_order_testing: ./ auto_analyses/dauvergne_protocol.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on March 13, 2013 - 15:21:
Author: bugman
Date: Wed Mar 13 15:21:51 2013
New Revision: 18813

URL: http://svn.gna.org/viewcvs/relax?rev=18813&view=rev
Log:
Merged revisions 18812 via svnmerge from 
svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk

........
  r18812 | bugman | 2013-03-13 15:21:07 +0100 (Wed, 13 Mar 2013) | 10 lines
  
  Fix for bug #20613 (https://gna.org/bugs/?20613), the failure of the 
diffusion tensor PDB creation.
  
  This was reported by Angelo Miguel Figueiredo <am dott figueiredo att fct 
dot unl dot pt>.
  
  The problem was that the diffusion tensor PDB representation 
structure.create_diff_tensor_pdb user
  function was being called even when the local tm global model was selected. 
 This naturally failed
  as there is no global diffusion tensor.  Now this user function is avoided 
for the local tm global
  model.
........

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 Wed Mar 13 15:21:51 2013
@@ -1,1 +1,1 @@
-/trunk:1-18810
+/trunk:1-18812

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=18813&r1=18812&r2=18813&view=diff
==============================================================================
--- branches/frame_order_testing/auto_analyses/dauvergne_protocol.py 
(original)
+++ branches/frame_order_testing/auto_analyses/dauvergne_protocol.py Wed Mar 
13 15:21:51 2013
@@ -937,8 +937,8 @@
         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, if a PDB 
file is present.
-        if hasattr(cdp, 'structure'):
+        # Create a diffusion tensor representation of the tensor, if a PDB 
file is present and the local tm global model has not been selected.
+        if hasattr(cdp, 'structure') and hasattr(cdp, 'diff_tensor'):
             dir = self.write_results_dir + 'final'
             
self.interpreter.structure.create_diff_tensor_pdb(file="tensor.pdb", dir=dir, 
force=True)
 




Related Messages


Powered by MHonArc, Updated Wed Mar 13 15:40:01 2013