You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The functions in hMRI-toolbox/spm12 folder are added to matlab by default.
All of them except spm_dicom_dict effectively hides corresponding function in spm12.
This is a dangerous situation and those functions must be either moved to it own namespace,
or changed names to hmri_...
The text was updated successfully, but these errors were encountered:
These spm12 functions were added at the time because they were not part of the public SPM release yet. Now it would be safer to rely on the SPM distribution, which ensures that the functions are fixed when needed. The small risk is the that some new features breaks back compatibility but this is IMO still less risky.
For the sake of completeness, I would also introduce a SPM version check when hMRI gets initialized. This way we would warn the user that their version of SPM is too old...
The functions in hMRI-toolbox/spm12 folder are added to matlab by default.
All of them except
spm_dicom_dict
effectively hides corresponding function in spm12.This is a dangerous situation and those functions must be either moved to it own namespace,
or changed names to
hmri_...
The text was updated successfully, but these errors were encountered: