Forum

Notifications
Clear all

hmrR_PruneChannels

Page 1 / 2

Toan
Posts: 5
 Toan
Customer
Topic starter
(@toan)
Joined: 4 weeks ago

Hello everyone!

I am encountering this following error when I'm running the analysis:

Function hmrR_PruneChannels generated error at line 75: Index in Position 1 exceeds array bounds (Must not exceed 2229).

I have to analyse over 400 snirf files and approximately 30% of my data have this error. Does anyone know what it is about? Thanks!

5 Replies
Meryem Yücel
Posts: 62
Moderator
(@mayucel)
Joined: 1 year ago

Hi Toan,

 

Please send us one of the snirf files that you have the issue with so that we can reproduce the error.

 

Thanks,

 

Meryem

Reply
Toan
Posts: 5
 Toan
Customer
Topic starter
(@toan)
Joined: 4 weeks ago

Hello

Here is an example. By the way, I am using the last version of Homer3 (v.1.31.13)

Thanks a lot

Toan

Reply
Meryem Yücel
Posts: 62
Moderator
(@mayucel)
Joined: 1 year ago

Hello Toan,

 

NaN function is breaking since you have a channel (ch24) consists of all NaNs, and the code cannot perform interpolation. I can add a quick fix to the code so that it skips those channels. Prunechannel function worked without an issue with the snirf files you sent.

 

Meryem

Reply
Meryem Yücel
Posts: 62
Moderator
(@mayucel)
Joined: 1 year ago

The change is now in the development version.

Meryem

Reply
Page 1 / 2
Share: