def test_td_hull_plot(self):
    from matador.hull.hull_temperature import TemperatureDependentHull
    from matador.scrapers import castep2dict
    (cursor, s) = castep2dict((REAL_PATH + 'data/castep_phonon_files/*.castep'), db=False)
    td_hull = TemperatureDependentHull(cursor=cursor, energy_key='total_energy_per_atom')
    td_hull.plot_hull(plot_fname='td_hull', png=True)
    self.assertTrue(os.path.isfile('td_hull.png'))
def test_td_hull_plot(self):
    from matador.hull.hull_temperature import TemperatureDependentHull
    from matador.scrapers import castep2dict
    (cursor, s) = castep2dict((REAL_PATH + 'data/castep_phonon_files/*.castep'), db=False)
    td_hull = TemperatureDependentHull(cursor=cursor, energy_key='total_energy_per_atom')
    td_hull.plot_hull(plot_fname='td_hull', png=True)
    self.assertTrue(os.path.isfile('td_hull.png'))