Example #1
0
 def test_write_loop(self):
     s = StarFile(self.loop_simple)
     s.write_star_file(Path('test', 'data', 'loop_block.star'))
Example #2
0
 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'))
Example #3
0
 def test_write_simple_block(self):
     s = StarFile(self.postprocess)
     s.write_star_file(Path('test', 'data', 'basic_block.star'))