- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I have saved a cfg_dep that is displayed like this in matlab:
dep = 
 
cfg_dep object: 1-by-1
           tname: 'Select GCM_*.mat'
    tgt_exbranch: [0×0 struct]
       tgt_input: [0×0 struct]
        tgt_spec: {[1×2 struct]}
          jtsubs: [0×0 struct]
           sname: 'Specify group: GCM mat File(s)'
    src_exbranch: [1×10 struct]
      src_output: [1×1 struct]
I then load it and display it in spm-python:
In [1]: from spm import Runtime
In [2]: dep = Runtime.call('load', 'dep.mat').dep
Initializing Matlab Runtime...
WARNING: package sun.awt.X11 not in java.desktop
WARNING: package sun.awt.X11 not in java.desktop
In [3]: dep
Out[3]: <spm.__matlabbatch.cfg_dep.cfg_dep at 0x1659e87c0>
In [4]: Runtime.call('disp', dep, nargout=0)
cfg_dep object: 1-by-1
           tname: 'Target'
    tgt_exbranch: [0x0 struct]
       tgt_input: [0x0 struct]
        tgt_spec: {}
          jtsubs: [0x0 struct]
           sname: [1x1 struct]
    src_exbranch: [0x0 struct]
      src_output: [0x0 struct]Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working