cpp-lln-lab / bidspm

an SPM centric BIDS app
https://bidspm.readthedocs.io/en/latest/general_information.html
GNU General Public License v3.0
5 stars 13 forks source link

Cannot find contrast in SPM.mat #1262

Closed Remi-Gau closed 2 months ago

Remi-Gau commented 2 months ago
          > To check:

seems that the results workflow may have been affected by this:

https://github.com/cpp-lln-lab/bidspm/actions/runs/9805840957/job/27076371017?pr=1258#step:17:1284

[09:15:02] bidspm - INFO              printProcessingSubject
  PROCESSING SUBJECT No.: 1 SUBJECT LABEL : 01
  List of contrast in this SPM file

      - listening_1
      - listening_inf_baseline_1

  [�Warning:
  [09:15:02] bidspm - WARNING             getContrastNb

  This SPM file
  /tmp/tp9fcf8405_d635_4ef5_9125_7a7133955b2f/outputs/derivatives/bidspm-stats/sub-01/task-auditory_space-individual_FWHM-6/SPM.mat
   does not contain a contrast named:
   "listening_1_[0-9]+"
  ]� 

Ok this happens on octave and matlab and can reproduce locally. I must have missed something and don't have proper tests to detect this.

Will open a new issue to track this new bug.

Originally posted by @Remi-Gau in https://github.com/cpp-lln-lab/bidspm/issues/1248#issuecomment-2212483076