parse type of quniform or qloguniform

def parse_qtype(self, param_type, param_value):
        '''parse type of quniform or qloguniform'''
        if param_type == 'quniform':
            return self._parse_quniform(param_value)
        if param_type == 'qloguniform':
            param_value[:2] = np.log(param_value[:2])
            return list(np.exp(self._parse_quniform(param_value)))

        raise RuntimeError("Not supported type: %s" % param_type)