tr = 'Str[s=2012-09-26]' subsamp = 'Str[s=0]' if ( subsamp=='0' ): xyz__CLASSTYPE = QDataSet # return type from getDataSet (spot line789) mag__CLASSTYPE = QDataSet # return type from magnitude (spot line789) typ = 'Str[s=fce]' if ( typ=='fce' ): result__CLASSTYPE = QDataSet # (spot line1014 b)