Skip to content

Commit

Permalink
Fix node.get_attribute deprecation warning (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n authored Nov 25, 2024
1 parent 5a8ce09 commit 7a39dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiida_dftk/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def parse(self, **kwargs):

def _parse_optional_result(self, file_name, missing_file_exitcode, parser):
# Files passed to the CalcInfo to be retrieved
retrieve_list = self.node.get_attribute('retrieve_list')
retrieve_list = self.node.base.attributes.get('retrieve_list')
# Files that were actually retrieved
retrieved_files = self.retrieved.base.repository.list_object_names()

Expand Down

0 comments on commit 7a39dce

Please sign in to comment.