Skip to content

Commit 830af61

Browse files
committed
[Fix] use _from_runtime rather than from_any to process outputs
1 parent 5630f75 commit 830af61

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spm/__wrapper__/runtime.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def _process_argin(*args, **kwargs):
3333

3434
@staticmethod
3535
def _process_argout(res):
36-
return MatlabType.from_any(res)
36+
return MatlabType._from_runtime(res)
3737

3838
@staticmethod
3939
def _import_initialize():
@@ -57,7 +57,7 @@ def _import_initialize():
5757
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5858
print(Runtime._help)
5959
raise e
60-
60+
6161
# Make sure matlab is imported
6262
_import_matlab()
6363

@@ -69,4 +69,3 @@ def _import_initialize():
6969
If the issue persists, please open an issue with the entire error
7070
message at https://github.com/spm/spm-python/issues.
7171
"""
72-

0 commit comments

Comments
 (0)