Skip to content

BUG - Fail to start BrainWavelet toolbox #286

Description

@ethanknights

Describe the bug
Fail to start BrainWavelet toolbox.

The path to the BWT toolbox hasn't been altered in the CBU cluster for a few years.
So, instead, I suspect it might be related recent commits that introduce new toolbox classes (in this recent commit): cef8e47
e.g. in file: aa_modules/aamod_waveletdespike.m

I haven't quite followed how to start toolboxes with these classes. Maybe these methods are still a work-in-progress, or perhaps I'm missing a critical step for initialising the toolbox. At the moment, I am not specifying any toolbox path or command to set them up, other than the default path definition in this parameter set:

<BrainWaveletdir desc='Path to BrainWavelet toolbox' ui='dir'>/imaging/local/software/BrainWavelet</BrainWaveletdir>

To Reproduce
The aa masterscript and tasklist.xml are here: https://github.com/ethanknights/tmp_CC280_rest

Error:

**** automatic analysis failed - see reason and line numbers below
Wavelet despiking toolbox not found
for help, see the aa wiki
Error using aas_log (line 67)
aa error:
see above (or set aap.options.verbose)

Environment (please complete the following information):

  • OS with version: CentOS 7
  • MATLAB version: 2019a
  • Relevant toolboxes with version: 1.1

** Additional Info **
The waveletdespike.m function uses aas_cache_get, which fails specifically here:

[ ~, BWT ] = aas_cache_get(aap,'bwt');
BWT.load;

Maybe I should have done something earlier (e.g. in masterscript?) to load the toolbox. Something to the effect of:

>> bwtClass('/imaging/local/software/BrainWavelet')

ans = 

  bwtClass with properties:

          name: ''
      toolPath: '/imaging/local/software/BrainWavelet'
      autoLoad: 0
    keepInPath: 0
       showGUI: 0
        status: 'defined'

This isn't a major issue for me, as I'll try fall back to an older version for now, but thought might be a useful flag about updates. Any advice appreciated though, thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions