From a64ddd2f9edd0112e1758804b0af03d64b9ef4f9 Mon Sep 17 00:00:00 2001 From: Noe Brucy Date: Fri, 23 Apr 2021 14:42:54 +0200 Subject: [PATCH] [postprocessor] correct copy-paste bug --- postprocessor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postprocessor.py b/postprocessor.py index e9d5943..0a9211a 100644 --- a/postprocessor.py +++ b/postprocessor.py @@ -366,7 +366,7 @@ class PostProcessor(HDF5Container): Load data from the source file in the memory. (Long and memory heavy) """ - if not self.parts_loaded: + if not loaded: if os.path.exists(filename): hdf5 = tables.open_file(filename, mode="r") try: