Skip to content

Commit

Permalink
more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Nov 29, 2023
1 parent 4beafd1 commit b665e80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_evcurve_abinit.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

def validate_fitdict(fit_dict):
lst = [
fit_dict['bulkmodul_eq'] > 100,
fit_dict['bulkmodul_eq'] < 110,
fit_dict['bulkmodul_eq'] > 120,
fit_dict['bulkmodul_eq'] < 130,
fit_dict['energy_eq'] > -227,
fit_dict['energy_eq'] < -226,
fit_dict['volume_eq'] > 66,
Expand Down Expand Up @@ -57,7 +57,7 @@ def test_calc_evcurve(self):
)
fit_dict = workflow.analyse_structures(output_dict=result_dict)
temperatures_ev, volumes_ev = workflow.get_thermal_expansion(output_dict=result_dict, temperatures=[100, 1000])
print(result_dict, temperatures_ev, volumes_ev)
self.assertTrue(all(validate_fitdict(fit_dict=fit_dict)))
self.assertEqual(len(temperatures_ev), 2)
self.assertEqual(len(volumes_ev), 2)
print(result_dict, temperatures_ev, volumes_ev)

0 comments on commit b665e80

Please sign in to comment.