Skip to content

Commit

Permalink
Fix checking the value of the parse_retrieved_files attribure.
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha committed Aug 26, 2024
1 parent 2725431 commit ef05535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiida_quantumespresso/parsers/pp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ef05535

Please sign in to comment.