mailr18478 - /trunk/generic_fns/structure/main.py


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

Header


Content

Posted by edward on February 18, 2013 - 12:14:
Author: bugman
Date: Mon Feb 18 12:14:13 2013
New Revision: 18478

URL: http://svn.gna.org/viewcvs/relax?rev=18478&view=rev
Log:
Added a printout to structure.delete for when no structures are present.


Modified:
    trunk/generic_fns/structure/main.py

Modified: trunk/generic_fns/structure/main.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/generic_fns/structure/main.py?rev=18478&r1=18477&r2=18478&view=diff
==============================================================================
--- trunk/generic_fns/structure/main.py (original)
+++ trunk/generic_fns/structure/main.py Mon Feb 18 12:14:13 2013
@@ -109,6 +109,8 @@
     if hasattr(cdp, 'structure'):
         print("Deleting all structural data from the current pipe.")
         cdp.structure.delete()
+    else:
+        print("No structures are present.")
 
     # Then remove any spin specific structural info.
     print("Deleting all spin specific structural info.")




Related Messages


Powered by MHonArc, Updated Mon Feb 18 17:40:01 2013