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 5987514 commit fff971aCopy full SHA for fff971a
savemat.py
@@ -32,8 +32,11 @@ def savemat(matfiledata,fn):
32
33
rm_keys = []
34
for i in list(matfiledata):
35
- if isinstance(matfiledata[i],mat73.AttrDict):
36
- rm_keys.append(i)
+ try:
+ if isinstance(matfiledata[i],mat73.AttrDict):
37
+ rm_keys.append(i)
38
+ except:
39
+ pass
40
41
if len(rm_keys) > 0:
42
print('Warning: .mat save functions can''t handle certain object types [mat73.AttrDict].\n')
0 commit comments