From add59b66357e1520a81f1c3b13397d11a09fefe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Thu, 16 Feb 2017 03:53:11 +0200 Subject: [PATCH] flush stdout Former-commit-id: a9a5aa501e7db20d5fae48844cc19e1bfad14a02 --- misc/dispersion-SVD.py | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/dispersion-SVD.py b/misc/dispersion-SVD.py index e9099c3..77ea998 100755 --- a/misc/dispersion-SVD.py +++ b/misc/dispersion-SVD.py @@ -312,6 +312,7 @@ for trfile in os.scandir(translations_dir): omega = k_0 * c / math.sqrt(epsilon_b) omegalist.append(omega) print(filecount, omega/eV*hbar) + sys.stdout.flush() a_self = tdic['a_self'][:,:nelem,:nelem] b_self = tdic['b_self'][:,:nelem,:nelem] a_u2d = tdic['a_u2d'][:,:nelem,:nelem]