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: