methlabUZH / automagic

Automagic
GNU General Public License v3.0
89 stars 32 forks source link

File extension hard-coded to have 3 letters #27

Closed janbrogger closed 3 years ago

janbrogger commented 3 years ago

Repro:

  1. Try to setup processing with a set of NIcolet files with file extension .e
  2. Observed:
    
    *******Start preprocessing all dataset*******
    Processing file xxx_Patientyyy_EEGzzz_t1 ...(file 1 out of 20)
    Array indices must be positive integers or logical values.

Error in Block/loadEEGFromFile (line 1125) if( any(strcmp(self.fileExtension(end-3:end), ...


Comment:
File extension should be possible to have 0, 1, 2 or 3 letters.
ksgfan commented 3 years ago

Thank you for the valuable input!