def addVariable(self, varName, file, var, axesArgString):
        # If the variable is defined, replace existing variable, else create a new variable
        if self.isVariableDefined(varName):
            item = self.getItem(varName)
            item.setVariable(var)
            item.setFile(file)
        else:
            item = QDefinedVariableItem(file, var, varName)
            self.varList.addItem(item)

        # Recording define variable teaching command
        self.recordDefineVariableTeachingCommand(varName, var.id, file, axesArgString)

        # emit signal to QVariableView to create a new axisList / tab
        self.emit(QtCore.SIGNAL('setupDefinedVariableAxes'), file, var, varName)
Checks against zookeeper to see if it belongs to current release.
dataset/ETHPy150Open VisTrails/VisTrails/contrib/cdat/cdat_window.py/QDefinedVariable.addVariable--crossover with--dataset/ETHPy150Open Nextdoor/ndscheduler/ndscheduler/core/scheduler/base.py/SingletonScheduler._process_jobs