Error message from "MBA"

AFNI version info (afni -ver): linux_ubuntu_16_64: Sep 6 2024 (Version AFNI_24.2.05 'Macrinus')

MBA -prefix myWonderfulResult -chains 4 -WCP 6 -iterations 1000 -model 1 -EOI 'Intercept' -dataTable myData.txt

I am trying to run a simply "MBA" with the above command but get the following output with an error. I am wondering what to do for troubleshooting this. THANK YOU so much!

Loading required package: Rcpp
Loading 'brms' package (version 2.19.0). Useful instructions
can be found by typing help('brms'). A more detailed introduction
to the package is available through vignette('brms_overview').

Attaching package: ‘brms’

The following object is masked from ‘package:stats’:

    ar

Loading required package: cmdstanr
This is cmdstanr version 0.8.0
- CmdStanR documentation and vignettes: mc-stan.org/cmdstanr
- CmdStan path: /home/zli/.cmdstan/cmdstan-2.35.0
- CmdStan version: 2.35.0
Syntax error in '/tmp/Rtmpyb50OY/model_2a7c02c5acb791846e40eea5a69152c4.stan', line 10, column 5 to column 7, parsing error:
   -------------------------------------------------
     8:     *   an integer sequence from start to end
     9:     */
    10:    int[] sequence(int start, int end) {
              ^
    11:      int seq[end - start + 1];
    12:      for (n in 1:num_elements(seq)) {
   -------------------------------------------------

An identifier is expected after the type as a function argument name.
It looks like you are trying to use the old array syntax.
Please use the new syntax: 
array[] int

Error: Syntax error found! See the message above for more information.
Execution halted

Hi Zhihao,

It’s been a while—good to hear from you!

Without direct access to the input data, it’s challenging to pinpoint the issue. However, I’ve become less enthusiastic about the modeling approach using MBA. What are the matrix dimensions? It might be more effective to switch to RBA and use half of the off-diagonal elements from those matrices as input.

Gang

Hi Gang,
Long time no see!

Here I am trying a FC matrix with ~160 ROIs (I can send you the data). Am I too aggressive? Do you have an example of using RBA for the purpose of MBA?