def test_write_loop(self): s = StarFile(self.loop_simple) s.write_star_file(Path('test', 'data', 'loop_block.star'))
def test_write_multiblock(self): s = StarFile(self.postprocess) self.assertTrue(s.dataframes[0].name == 'general') s.write_star_file(Path('test', 'data', 'multiblock.star'))
def test_write_simple_block(self): s = StarFile(self.postprocess) s.write_star_file(Path('test', 'data', 'basic_block.star'))