Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Error loading snirf files #164

Open
JonteP opened this issue Mar 8, 2023 · 0 comments
Open

[BUG]: Error loading snirf files #164

JonteP opened this issue Mar 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@JonteP
Copy link

JonteP commented Mar 8, 2023

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: fieldtrip/fieldtrip#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 JonteP added the bug Something isn't working label Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant