From d9bdd94e655cb3e6261aec63dddce23070f49a59 Mon Sep 17 00:00:00 2001 From: Technici4n <13494793+Technici4n@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:10:46 +0100 Subject: [PATCH] Fix node.get_attribute deprecation warning --- src/aiida_dftk/parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aiida_dftk/parsers.py b/src/aiida_dftk/parsers.py index 0356c8b..335fef0 100644 --- a/src/aiida_dftk/parsers.py +++ b/src/aiida_dftk/parsers.py @@ -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()