Esempio n. 1
0
 def test_strip_div_model_column(self):
     self.write_posterior_file()
     self.columns.append(('PRI.div.model', [2, 1, 2]))
     div_tmp_path = self.get_test_path(prefix = 'div-model-column')
     self.write_posterior_file(path=div_tmp_path)
     stripped_path = self.get_test_path(prefix = 'stripped')
     PosteriorWorker.strip_div_model_column(div_tmp_path, stripped_path)
     self.assertSameFiles([self.posterior_path, stripped_path])