3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-21 11:53:41 +01:00

Fix sigma_from_file test

This commit is contained in:
Manuel Zingl 2016-05-09 14:13:01 +02:00
parent 8ec3811d71
commit 1c74b71109

View File

@ -51,5 +51,4 @@ SK.set_Sigma([Sigma_txt])
SK.hdf_file = 'sigma_from_file.out.h5'
SK.save(['Sigma_imp_w'])
if ((Sigma_txt - Sigma_hdf).real < 1e-6) & ((Sigma_txt - Sigma_hdf).imag < 1e-6):
print 'Conversion: HDF -> TRIQS -> TXT -> TRIQS successful!'
assert_block_gfs_are_close(Sigma_txt, Sigma_hdf)