mailr10090 - /1.3/sample_scripts/mf_multimodel.py


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

Header


Content

Posted by edward on December 14, 2009 - 11:48:
Author: bugman
Date: Mon Dec 14 11:48:49 2009
New Revision: 10090

URL: http://svn.gna.org/viewcvs/relax?rev=10090&view=rev
Log:
Fix for bug #14885 (https://gna.org/bugs/?14885).

This was reported by Tiago Pais (tpais att itqb dot unl dot pt).

The problem was a few missing user functions in the sample script.


Modified:
    1.3/sample_scripts/mf_multimodel.py

Modified: 1.3/sample_scripts/mf_multimodel.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/sample_scripts/mf_multimodel.py?rev=10090&r1=10089&r2=10090&view=diff
==============================================================================
--- 1.3/sample_scripts/mf_multimodel.py (original)
+++ 1.3/sample_scripts/mf_multimodel.py Mon Dec 14 11:48:49 2009
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2003-2008 Edward d'Auvergne                                  
 #
+# Copyright (C) 2003-2009 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax.                                    
 #
 #                                                                            
 #
@@ -36,7 +36,11 @@
     sequence.read('noe.500.out', res_num_col=1)
 
     # Load a PDB file.
-    #structure.read_pdb('example.pdb')
+    structure.read_pdb('example.pdb')
+
+    # Set the spin name and then load the NH vectors.
+    spin.name('N')
+    structure.vectors(spin_id='@N', attached='H*', ave=False)
 
     # Load the relaxation data.
     relax_data.read('R1', '600', 600.0 * 1e6, 'r1.600.out', res_num_col=1, 
data_col=3, error_col=4)




Related Messages


Powered by MHonArc, Updated Mon Dec 14 13:20:02 2009