Skip to content

Commit d756d63

Browse files
committed
fix tests
1 parent bfa073d commit d756d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smarts/core/utils/file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def unpack(obj):
8282
if isinstance(obj, dict):
8383
return {key: unpack(value) for key, value in obj.items()}
8484
elif isinstance(obj, (list, np.ndarray)):
85-
return tuple(unpack(value) for value in obj)
85+
return [unpack(value) for value in obj]
8686
elif isnamedtupleinstance(obj):
8787
return {key: unpack(value) for key, value in obj._asdict().items()}
8888
elif isdataclass(obj):

0 commit comments

Comments
 (0)