Skip to content

Commit c923d08

Browse files
committed
[Fix] conversion of cell of arrays + implicit resizing of scalar structs + infinite loop when accessing undefined fields
2 parents 486a051 + d519c18 commit c923d08

3,919 files changed

Lines changed: 5306 additions & 4560 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.mpython/templates/class_header.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from <pkgname>.__wrapper__ import Runtime, MatlabClass
2+
3+
4+
class <classname>(MatlabClass):
5+
def __init__(self, *args, **kwargs):
6+
<docstring>
7+
super().__init__()

.mpython/templates/docstring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
44
[Matlab code]( https://github.com/spm/spm/blob/main/<rfilepath> )
55
6-
Copyright (C) 2024-2024 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
6+
Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
77
"""

spm/__compat/loadxml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ def loadxml(*args, **kwargs):
2929
3030
[Matlab code]( https://github.com/spm/spm/blob/main/compat/loadxml.m )
3131
32-
Copyright (C) 2024-2024 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
32+
Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
3333
"""
3434
return Runtime.call("loadxml", *args, **kwargs)

spm/__compat/savexml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ def savexml(*args, **kwargs):
2525
2626
[Matlab code]( https://github.com/spm/spm/blob/main/compat/savexml.m )
2727
28-
Copyright (C) 2024-2024 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
28+
Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
2929
"""
3030
return Runtime.call("savexml", *args, **kwargs, nargout=0)

spm/__compat/spm_add.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ def spm_add(*args, **kwargs):
2525
2626
[Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_add.m )
2727
28-
Copyright (C) 2024-2024 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
28+
Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
2929
"""
3030
return Runtime.call("spm_add", *args, **kwargs)

spm/__compat/spm_adjmean_fmri_ui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,6 @@ def spm_adjmean_fmri_ui(*args, **kwargs):
198198
199199
[Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_adjmean_fmri_ui.m )
200200
201-
Copyright (C) 2024-2024 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
201+
Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
202202
"""
203203
return Runtime.call("spm_adjmean_fmri_ui", *args, **kwargs, nargout=0)

spm/__compat/spm_adjmean_ui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,6 @@ def spm_adjmean_ui(*args, **kwargs):
184184
185185
[Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_adjmean_ui.m )
186186
187-
Copyright (C) 2024-2024 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
187+
Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
188188
"""
189189
return Runtime.call("spm_adjmean_ui", *args, **kwargs, nargout=0)

spm/__compat/spm_atranspa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ def spm_atranspa(*args, **kwargs):
1717
1818
[Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_atranspa.m )
1919
20-
Copyright (C) 2024-2024 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
20+
Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
2121
"""
2222
return Runtime.call("spm_atranspa", *args, **kwargs)

spm/__compat/spm_chi2_plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ def spm_chi2_plot(*args, **kwargs):
2121
2222
[Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_chi2_plot.m )
2323
24-
Copyright (C) 2024-2024 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
24+
Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
2525
"""
2626
return Runtime.call("spm_chi2_plot", *args, **kwargs, nargout=0)

spm/__compat/spm_digamma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ def spm_digamma(*args, **kwargs):
1616
1717
[Matlab code]( https://github.com/spm/spm/blob/main/compat/spm_digamma.m )
1818
19-
Copyright (C) 2024-2024 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
19+
Copyright (C) 1995-2025 Functional Imaging Laboratory, Department of Imaging Neuroscience, UCL
2020
"""
2121
return Runtime.call("spm_digamma", *args, **kwargs)

0 commit comments

Comments
 (0)