mailr9732 - /branches/bmrb/generic_fns/exp_info.py


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

Header


Content

Posted by edward on October 11, 2009 - 17:26:
Author: bugman
Date: Sun Oct 11 17:26:10 2009
New Revision: 9732

URL: http://svn.gna.org/viewcvs/relax?rev=9732&view=rev
Log:
Added relax to the BMRB file.


Modified:
    branches/bmrb/generic_fns/exp_info.py

Modified: branches/bmrb/generic_fns/exp_info.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bmrb/generic_fns/exp_info.py?rev=9732&r1=9731&r2=9732&view=diff
==============================================================================
--- branches/bmrb/generic_fns/exp_info.py (original)
+++ branches/bmrb/generic_fns/exp_info.py Sun Oct 11 17:26:10 2009
@@ -26,6 +26,7 @@
 # relax module imports.
 from data.exp_info import ExpInfo
 from relax_errors import RelaxError
+from version import version_full
 
 
 # relax fixed info.
@@ -57,6 +58,9 @@
     @param star:        The NMR-STAR dictionary object.
     @type star:         NMR_STAR instance
     """
+
+    # First add relax.
+    star.software.add(name=RELAX_NAME, version=version_full(), 
vendor_name=RELAX_AUTHORS, vendor_eaddress=RELAX_URL, task=RELAX_TASKS)
 
     # Loop over the software.
     for software in cdp.exp_info.software:




Related Messages


Powered by MHonArc, Updated Sun Oct 11 17:40:02 2009