mailr27040 - /trunk/data_store/exp_info.py


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

Header


Content

Posted by edward on December 09, 2014 - 09:04:
Author: bugman
Date: Tue Dec  9 09:04:20 2014
New Revision: 27040

URL: http://svn.gna.org/viewcvs/relax?rev=27040&view=rev
Log:
Cleared the list of blacklisted objects for the cdp.exp_info data structure.

The data_store.exp_info.ExpInfo class blacklist variable had previously not 
been used.  But after
recent changes, the list was now active.  As all the contents of the 
container were blacklisted, the
container was being initialised as being empty when reading the XML formatted 
state or results
files.  Therefore the blacklist is now set to an empty list.


Modified:
    trunk/data_store/exp_info.py

Modified: trunk/data_store/exp_info.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/data_store/exp_info.py?rev=27040&r1=27039&r2=27040&view=diff
==============================================================================
--- trunk/data_store/exp_info.py        (original)
+++ trunk/data_store/exp_info.py        Tue Dec  9 09:04:20 2014
@@ -40,7 +40,7 @@
         self.desc = "Experimental information"
 
         # Blacklisted objects.
-        self.blacklist = ["citations", "software", "temp_calibration", 
"temp_control"]
+        self.blacklist = []
 
 
     def add_citation(self, cite_id=None, authors=None, doi=None, 
pubmed_id=None, full_citation=None, title=None, status=None, type=None, 
journal_abbrev=None, journal_full=None, volume=None, issue=None, 
page_first=None, page_last=None, year=None):




Related Messages


Powered by MHonArc, Updated Tue Dec 09 09:20:03 2014