Forum

Notifications
Clear all

Prune Channels - mlActMan


Lucy Varwell
Posts: 10
Registered
Topic starter
(@le_rah)
Active Member
Joined: 3 months ago

Dear Community,

when trying to use the hmrR_PruneChannels function (without GUI) I get the following error Message:

Brace indexing is not supported for variables of this type.
Error in hmrR_PruneChannels (line 65)
if isempty(mlActMan{iBlk}) 

 

This is I believe because I defined mlActMan wrong? Sadly in the Wiki and the help section explanation to mlActMan is always left blank. When I do not define mlActMan at all (not surprisingly) this error message occures: 

Unrecognized function or variable 'mlActMan'

Since MeasList needed to be defined in Homer2 too, I am guessing this is still the case in Homer3.. While I found some Forum entry from the google forum ( https://groups.google.com/g/homer-fnirs/c/05YvW0bezKk/m/p17SAOkBAgAJ) and tried to delete all .m files this didn't work for me. So maybe you can help me on how I get the measurement list information in the mlActMan variable so the function works? 

All the best

 

6 Replies
David Boas
Posts: 158
Registered
(@dboas)
Estimable Member
Joined: 1 year ago

which version of Homer3 are you using?

I believe we fixed this in the development branch on github. We are preparing to make a new release that will have this fix. But in the mean time you can try to grab the development branch.

Reply
1 Reply
Lucy Varwell
Registered
(@le_rah)
Joined: 3 months ago

Active Member
Posts: 10

@dboas I use the Homer3 Version 1.31.2. When trying to install the 1.31.4 Version from the developement branch I keep getting told that Utilis and Data Tree can not be found, so I installed them separately and wanted to add their location, but this didn't work either. Can I maybe just use the bugfixed code part without downloading the development version?

And when you say you fixed it does it mean I can then define mlActMan and it works or is this Variable stored somewhere and I don't need to define it?

All the best

Reply
David Boas
Posts: 158
Registered
(@dboas)
Estimable Member
Joined: 1 year ago

Yeah, the development version is unstable. We should have a stable release in a week. And then from that point on we will maintain each stable release with small bug fixes and only use the development version for implementing new features.

This new issue you are facing is a new feature we finally implemented the other week that allows us to run Homer and AtlasViewer at the same time. But its implementation has some bugs.

I will talk with Jay Dubb and Stephen Tucker about these issues and get back to you later this week.

Reply
1 Reply
Lucy Varwell
Registered
(@le_rah)
Joined: 3 months ago

Active Member
Posts: 10

Hey @dboas

also with the latest update by Homer3 I am able to define the mlActMan, but still have the following errormessage when trying the execute the  hmrR_PruneChannels function with the defined mlActMan

"Brace indexing is not supported for variables of this type.
Error in hmrR_PruneChannels (line 65)
if isempty(mlActMan{iBlk})"

I am not sure if I am doing something wrong, maybe you could help? 

All the best

Reply
David Boas
Posts: 158
Registered
(@dboas)
Estimable Member
Joined: 1 year ago

@sstucker , can you take a look at this?

Reply
Stephen Tucker
Posts: 44
Admin
(@sstucker)
Eminent Member
Joined: 1 year ago

Will investigate this and get back to you here.

Reply
Share: