Author: bugman Date: Thu Apr 4 22:29:39 2013 New Revision: 19375 URL: http://svn.gna.org/viewcvs/relax?rev=19375&view=rev Log: Merged revisions 19374 via svnmerge from svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk ........ r19374 | bugman | 2013-04-04 22:28:57 +0200 (Thu, 04 Apr 2013) | 5 lines Fix for the analysis specific API common method _data_init_spin(). The data types are now correctly checked - they are not strings but types. ........ Modified: branches/relax_disp/ (props changed) branches/relax_disp/specific_analyses/api_common.py Propchange: branches/relax_disp/ ------------------------------------------------------------------------------ --- svnmerge-integrated (original) +++ svnmerge-integrated Thu Apr 4 22:29:39 2013 @@ -1,1 +1,1 @@ -/trunk:1-19357 +/trunk:1-19374 Modified: branches/relax_disp/specific_analyses/api_common.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/api_common.py?rev=19375&r1=19374&r2=19375&view=diff ============================================================================== --- branches/relax_disp/specific_analyses/api_common.py (original) +++ branches/relax_disp/specific_analyses/api_common.py Thu Apr 4 22:29:39 2013 @@ -101,9 +101,9 @@ for name in self.PARAMS.loop(set='params', scope='spin', error_names=False, sim_names=sim): # The default value. param_type = self.PARAMS.get_type(name) - if param_type == 'dict': + if param_type == dict: value = {} - elif param_type == 'list': + elif param_type == list: value = [] else: value = None