barbaLab / nigeLab

Neurophysiological data analyses by engineers, for physiologists.
GNU General Public License v3.0
14 stars 2 forks source link

Unable to write to MAT-file - The file may be corrupt. #17

Closed StefanoBuccelli closed 5 years ago

StefanoBuccelli commented 5 years ago

Describe the bug Running doRawExtraction on myTank demo. Fails to write 'cause filename is too long.

To Reproduce R19-101_2019_05_29_Site1AB-RSolenoid+ICMS-0_190529_104313_DigIO_DigIn_trigIn_Stream

it's 83 character long.

But the names of variables are limitd to 63 characters. Need to add a check. Avoid to replicate on filename what's already in the folder name. Hard to read :)

Desktop (please complete the following information):

StefanoBuccelli commented 5 years ago

Solved for the purpose of the demo. No more errors regarding fileName length. FB still working on it to make it working (see Shorter Filenames thread)