Indeed, the redundant field "samples" was removed from the data structures last year.
This issue has already been dealt with last year, you probably just need to update nirstorm:
opened 01:16AM - 04 Jul 19 UTC
closed 10:24PM - 28 May 20 UTC
Hello Thomas,
When trying to run the motion correction, I get the following e… rror:
Error: [process_nst_motion_correction] NIRS > Motion correction
** Line 98: Reference to non-existent field 'samples'.
**
** Call stack:
** >process_nst_motion_correction.m>Run at 98
** >process_nst_motion_correction.m at 23
** >bst_process.m>Run at 196
** >bst_process.m at 36
** >panel_process1.m>RunProcess at 151
** >panel_process1.m at 26
** >gui_brainstorm.m>CreateWindow/ProcessRun_Callback at 759
** >bst_call.m at 28
** >gui_brainstorm.m>@(h,ev)bst_call(@ProcessRun_Callback) at 292
I also tried with a demo file from the workshop same issue
Don't really know what is causing this issue
Thank you