mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 10:05:49 +01:00
fix for the sigma_from_file test, commit 05fd3fe3bdf45cf21a021cb204449050057d1435 revealed that the test never worked correctly
This commit is contained in:
parent
8e8ce2b67b
commit
bb7419f586
@ -42,7 +42,7 @@ for name, s in Sigma_hdf:
|
|||||||
# Read self energy from txt files
|
# Read self energy from txt files
|
||||||
SK = SumkDFTTools(hdf_file = 'SrVO3.h5', use_dft_blocks = True)
|
SK = SumkDFTTools(hdf_file = 'SrVO3.h5', use_dft_blocks = True)
|
||||||
|
|
||||||
a_list = [a for a,al in SK.gf_struct_solver[0].iteritems()]
|
a_list = sorted([a for a,al in SK.gf_struct_solver[0].iteritems()])
|
||||||
g_list = [read_gf_from_txt([['Sigma_' + a + '.dat']], a) for a in a_list]
|
g_list = [read_gf_from_txt([['Sigma_' + a + '.dat']], a) for a in a_list]
|
||||||
Sigma_txt = BlockGf(name_list = a_list, block_list = g_list, make_copies=False)
|
Sigma_txt = BlockGf(name_list = a_list, block_list = g_list, make_copies=False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user