Homer3 icon indicating copy to clipboard operation
Homer3 copied to clipboard

[BUG]: Error loading snirf files

Open JonteP opened this issue 1 year ago • 0 comments

Version of Homer3 you are using

v1.71.1

Your environment (MATLAB environment and OS)

MATLAB R2022a, Windows 10 64-bit

Description of the issue

I refer to the bug report I filed here: https://github.com/fieldtrip/fieldtrip/issues/2198 It seems to be the same issue with the official Homer3.

Steps to reproduce: Download e.g. the fnirs_tapping dataset: https://doi.org/10.5281/zenodo.5529797 Run: snirf=SnirfClass snirf.Load(snirf-file)

Expected behavior: This should return 0, contain a stimClass, probeClass and auxClass.

Actual behavior: It will return -1, contain a deleted stimClass and empty probeClass and auxClass. This is a downstream effect of strings not being read properly.

JonteP avatar Mar 08 '23 07:03 JonteP