From 7a39dce691cb0ae5dbb4e5ed665416bc25d4be19 Mon Sep 17 00:00:00 2001 From: Bruno Ploumhans <13494793+Technici4n@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:24:20 +0100 Subject: [PATCH] Fix node.get_attribute deprecation warning (#14) --- 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()