def test_stage_handler(self): stage_number = -1 stage_handler = TextStage(self.test_folder) step = stage_handler.load_atmip_params(stage_number, model=self.ATMIP_test) assert step.stage == stage_number corrupted_chains = stage_handler.recover_existing_results( stage_number, self.n_steps, step, n_jobs=1, model=self.ATMIP_test) assert len(corrupted_chains) == 0
def test_stage_handler(self): stage_number = -1 stage_handler = TextStage(self.test_folder) step = stage_handler.load_atmip_params(stage_number, model=self.ATMIP_test) assert step.stage == stage_number corrupted_chains = stage_handler.recover_existing_results(stage_number, self.n_steps, step, model=self.ATMIP_test) assert len(corrupted_chains) == 0 rtrace = stage_handler.load_result_trace(model=self.ATMIP_test)
def test_stage_handler(self): stage_number = -1 stage_handler = TextStage(self.test_folder) step = stage_handler.load_atmip_params(stage_number, model=self.ATMIP_test) assert step.stage == stage_number corrupted_chains = stage_handler.recover_existing_results( stage_number, self.samples / self.chains, self.chains, step, model=self.ATMIP_test) assert len(corrupted_chains) == self.chains rtrace = stage_handler.load_result_trace(model=self.ATMIP_test)