Skip to content

Commit

Permalink
Fix bug in create_wfx_from_retrieved
Browse files Browse the repository at this point in the history
  • Loading branch information
kmlefran committed Sep 17, 2024
1 parent 84d1601 commit ae43232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiida_aimall/workchains/calcfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()))


Expand Down

0 comments on commit ae43232

Please sign in to comment.