Skip to content

Commit 78d0f90

Browse files
authored
make sure all names are returned as strings (#1711)
1 parent 6a9e7e7 commit 78d0f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openfecli/commands/gather.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def _get_names(result: dict) -> tuple[str, str]:
225225
name_A = protocol_data["inputs"]["ligandmapping"]["componentA"]["molprops"]["ofe-name"]
226226
name_B = protocol_data["inputs"]["ligandmapping"]["componentB"]["molprops"]["ofe-name"]
227227

228-
return name_A, name_B
228+
return str(name_A), str(name_B)
229229

230230

231231
def _get_type(result: dict) -> Literal["vacuum", "solvent", "complex"]:

0 commit comments

Comments
 (0)