def checkConflicts(self): if self.params['tomoId'] is None: apDisplay.printError("enter a tomogram id, e.g. --tomoId=2") if self.params['rundir'] is not None: self.tomodata = apTomo.getTomogramData(self.params['tomoId']) if self.params['rundir'] != self.tomodata['path']['path']: apDisplay.printError("The movie should only be put in the same path as the tomogram")
def setRunDir(self): self.tomodata = apTomo.getTomogramData(self.params['tomoId']) self.params['rundir'] = self.tomodata['path']['path']