mailr18203 - /trunk/generic_fns/paramag.py


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

Header


Content

Posted by edward on January 15, 2013 - 17:04:
Author: bugman
Date: Tue Jan 15 17:04:00 2013
New Revision: 18203

URL: http://svn.gna.org/viewcvs/relax?rev=18203&view=rev
Log:
Removed the check for the 3D structural data in the paramag.centre user 
function.

This check is not needed.


Modified:
    trunk/generic_fns/paramag.py

Modified: trunk/generic_fns/paramag.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/generic_fns/paramag.py?rev=18203&r1=18202&r2=18203&view=diff
==============================================================================
--- trunk/generic_fns/paramag.py (original)
+++ trunk/generic_fns/paramag.py Tue Jan 15 17:04:00 2013
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2003-2012 Edward d'Auvergne                                  
 #
+# Copyright (C) 2003-2013 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -63,10 +63,6 @@
 
     # Get the data pipes.
     source_dp = pipes.get_pipe(pipe)
-
-    # Test if the structure has been loaded.
-    if not hasattr(source_dp, 'structure'):
-        raise RelaxNoPdbError
 
     # Test the centre has already been set.
     if pos != None and not force and hasattr(cdp, 'paramagnetic_centre'):




Related Messages


Powered by MHonArc, Updated Tue Jan 15 20:40:02 2013