def getVarType(self, varID, file):
        if varID in list(getattr(file, 'variables')):
            return 'variable'
        elif list(getattr(file, 'axes')) in varID:
            return 'axis'
        elif re.compile('(.+)(_)(.+)(_)axis').match(varID):
            return 'axis'
        elif re.compile('(.+)(_)(.+)(_)weight').match(varID):
            return 'weighted-axis'
dataset/ETHPy150Open VisTrails/VisTrails/contrib/cdat/cdat_cell.py/Variable.getVarType/swapped operands of `in`