def _subListToTuple(self, oInput):
    if (type(oInput) == dict):
        for key in oInput:
            if (type(oInput[key]) == list):
                oInput[key] = tuple(oInput[key])
    elif (type(oInput) == list):
        for (idx, attr) in enumerate(oInput):
            if (type(attr) == list):
                oInput[idx] = tuple(attr)
    else:
        raise ValueError('_subListToTuple: input should be dict or list')
def _subListToTuple(self, oInput):
    if (type(oInput) == dict):
        for key in oInput:
            if (type(oInput[key]) == list):
                oInput[key] = tuple(oInput[key])
    elif (type(oInput) == list):
        for (idx, attr) in enumerate(oInput):
            if (type(attr) == list):
                oInput[idx] = tuple(attr)
    else:
        raise ValueError('_subListToTuple: input should be dict or list')