3
0
mirror of https://github.com/triqs/dft_tools synced 2024-08-06 20:40:00 +02:00

fix for the sigma_from_file test, commit 05fd3fe3bdf45cf21a021cb204449050057d1435 revealed that the test never worked correctly

This commit is contained in:
Alexander Hampel 2020-04-16 12:22:33 -04:00
parent 8e8ce2b67b
commit bb7419f586

View File

@ -42,7 +42,7 @@ for name, s in Sigma_hdf:
# Read self energy from txt files
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]
Sigma_txt = BlockGf(name_list = a_list, block_list = g_list, make_copies=False)