From ae43232e53980b05a429e110f54a2dfe9cb3cb4a Mon Sep 17 00:00:00 2001 From: kmlefran Date: Tue, 17 Sep 2024 11:22:09 -0400 Subject: [PATCH] Fix bug in create_wfx_from_retrieved --- src/aiida_aimall/workchains/calcfunctions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aiida_aimall/workchains/calcfunctions.py b/src/aiida_aimall/workchains/calcfunctions.py index 1678b76..2f1b211 100644 --- a/src/aiida_aimall/workchains/calcfunctions.py +++ b/src/aiida_aimall/workchains/calcfunctions.py @@ -341,7 +341,7 @@ def create_wfx_from_retrieved(wfxname, retrieved_folder): SinglefileData of the .wfx file to find in the FolderData """ - wfx_file_string = retrieved_folder.get_object_content(wfxname.value) + wfx_file_string = retrieved_folder.get_object_content(wfxname.value.strip()) return SinglefileData(io.BytesIO(wfx_file_string.encode()))