def update(self, depth, tryCount):
        updatingFile = self.getJobFileName() + ".updating"
        open(updatingFile, 'w').close()
        if len(self.children) == 1: #Just make it a follow on
            self.followOnCommands.append(self.children.pop() + (depth + 1,))
        elif len(self.children) > 1:
            self.children = [ (Job(command, memory, cpu, tryCount, tempDir).write(), memory, cpu) for ((command, memory, cpu), tempDir) in zip(self.children, _createTempDirectories(self.jobDir, len(self.children))) ]
        self._write(".new")
        os.remove(updatingFile)
        os.rename(self.getJobFileName() + ".new", self.getJobFileName())
Friedman Chi-Square is a non-parametric, one-way within-subjects
dataset/ETHPy150Open benedictpaten/jobTree/src/job.py/Job.update--crossover with--dataset/ETHPy150Open radlab/sparrow/src/main/python/third_party/stats.py/afriedmanchisquare