diff --git a/src/aiida_quantumespresso/parsers/pp.py b/src/aiida_quantumespresso/parsers/pp.py index 687b05035..f847b583f 100644 --- a/src/aiida_quantumespresso/parsers/pp.py +++ b/src/aiida_quantumespresso/parsers/pp.py @@ -117,7 +117,7 @@ def get_key_from_filename(filename): matches = re.search(pattern, filename) return matches.group(1) - if self.node.inputs.metadata.options.parse_retrieved_files: + if self.node.base.attributes.get('parse_retrieved_files', True): for filename in filenames: # Directly parse the retrieved files after reading them to memory (`data_raw`). The raw data # of each file is released from memory after parsing, to improve memory usage.