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()))