We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfa073d commit d756d63Copy full SHA for d756d63
smarts/core/utils/file.py
@@ -82,7 +82,7 @@ def unpack(obj):
82
if isinstance(obj, dict):
83
return {key: unpack(value) for key, value in obj.items()}
84
elif isinstance(obj, (list, np.ndarray)):
85
- return tuple(unpack(value) for value in obj)
+ return [unpack(value) for value in obj]
86
elif isnamedtupleinstance(obj):
87
return {key: unpack(value) for key, value in obj._asdict().items()}
88
elif isdataclass(obj):
0 commit comments