mirror of
https://github.com/triqs/dft_tools
synced 2025-01-02 17:45:47 +01:00
Fix sigma_from_file test
This commit is contained in:
parent
8ec3811d71
commit
1c74b71109
@ -51,5 +51,4 @@ SK.set_Sigma([Sigma_txt])
|
|||||||
SK.hdf_file = 'sigma_from_file.out.h5'
|
SK.hdf_file = 'sigma_from_file.out.h5'
|
||||||
SK.save(['Sigma_imp_w'])
|
SK.save(['Sigma_imp_w'])
|
||||||
|
|
||||||
if ((Sigma_txt - Sigma_hdf).real < 1e-6) & ((Sigma_txt - Sigma_hdf).imag < 1e-6):
|
assert_block_gfs_are_close(Sigma_txt, Sigma_hdf)
|
||||||
print 'Conversion: HDF -> TRIQS -> TXT -> TRIQS successful!'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user