From bb7419f5864e280a305ad9e3a58340b3e911494a Mon Sep 17 00:00:00 2001 From: Alexander Hampel Date: Thu, 16 Apr 2020 12:22:33 -0400 Subject: [PATCH] fix for the sigma_from_file test, commit 05fd3fe3bdf45cf21a021cb204449050057d1435 revealed that the test never worked correctly --- test/sigma_from_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sigma_from_file.py b/test/sigma_from_file.py index ac4a83cd..7f309ab3 100644 --- a/test/sigma_from_file.py +++ b/test/sigma_from_file.py @@ -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)