Fix sigma_from_file test

This commit is contained in:
Manuel Zingl 2016-05-09 14:13:01 +02:00
parent 8ec3811d71
commit 1c74b71109
1 changed files with 1 additions and 2 deletions

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)