LIMO-EEG-Toolbox / limo_tools

Hierarchical Linear Modelling for MEEG data
https://limo-eeg-toolbox.github.io/limo_meeg/
Other
58 stars 28 forks source link

Test fails #109

Closed arnodelorme closed 1 year ago

arnodelorme commented 1 year ago

I used the first 10 subjects for limo_preproc_stats_hw.m

These are all the scripts.

https://github.com/sccn/eeglab_tests/tree/master/unittesting_limo

Run with the latest master branch LIMO. This is using the tests in limo_wrapperTest.m You can

  1. Clone the repo (need to have git lsf installed but otherwise it is a standard git clone)
  2. Open the file above and press the button run tests
  3. Note that you are correct I think that limo_preproc_stats_hw.m choke on subject 18. Below the test were run on subjects 1 to 10 (add the 'subjects', [1:10] parameter to pop_importbids - although you will need to clone the repo instead of downloading it through the EEGLAB plugin manager). You can also remove it from the BIDS dataset (delete the row in participants.tsv)
 9×1 cell array

    {'categorical design + contrasts with OLS estimates successful'                                                                                                                                                                                                                       }
    {'mixed design with WLS estimates + contrast failed ↵Dot indexing is not supported for variables of this type.'                                                                                                                                                                       }
    {'one sample t-tests failed ↵Unrecognized field name "con".'                                                                                                                                                                                                                          }
    {'regressions failed ↵Unrecognized field name "con".'                                                                                                                                                                                                                                 }
    {'paired t-test successful'                                                                                                                                                                                                                                                           }
    {'two samples t-test successful'                                                                                                                                                                                                                                                      }
    {'1-way ANOVA failed ↵A valid path to the file must be provided ↵ /System/Volumes/Data/data/matlab/eeglab-testcases/eeglab_test3/ds002718/../ds002718/derivatives_integration/LIMO_Face_detection/con_1_files_Gp1_FaceRepetition_GLM_Channels_Time_OLS.txt not found'                 }
    {'1-way ANCOVA + contrast failed ↵Undefined function 'gcp' for input arguments of type 'char'.'                                                                                                                                                                                       }
    {'Repeated measures ANOVA + contrast failed ↵A valid path to the file must be provided ↵ /System/Volumes/Data/data/matlab/eeglab-testcases/eeglab_test3/ds002718/../ds002718/derivatives_integration/LIMO_Face_detection/Beta_files_Gp1_Face_time_GLM_Channels_Time_WLS.txt not found'}

================================================================================
Error occurred in limo_wrapperTest/test_limo2 and it did not run to completion.
    ---------
    Error ID:
    ---------
    ''
    --------------
    Error Details:
    --------------
    Error using limo_test_integration (line 463)
    test failure - files were not deleted from drive

    Error in limo_wrapperTest>test_limo2 (line 12)
    limo_test_integration;
================================================================================
.
Done limo_wrapperTest
__________

Failure Summary:

     Name                         Failed  Incomplete  Reason(s)
    ============================================================
     limo_wrapperTest/test_limo1    X         X       Errored.
    ------------------------------------------------------------
     limo_wrapperTest/test_limo2    X         X       Errored.

ans = 

  1×2 TestResult array with properties:

    Name
    Passed
    Failed
    Incomplete
    Duration
    Details

Totals:
   0 Passed, 2 Failed (rerun), 2 Incomplete.
   32626.4671 seconds testing time.
CPernet commented 1 year ago

yeh I'm not bebuging your script, mine https://github.com/LIMO-EEG-Toolbox/limo_test_stats/blob/master/limo_test_integration.m works