Skip to content

Voxel regression Error message #13

@NitramNimod

Description

@NitramNimod

Hi!

I'm trying to follow your examples, using the following data:
4D image containing 50 FA images
whole brain mask file
regressor.csv - 1 column, 50 rows of income data for the 50 subjects
covariates.csv - 2 comma-separated columns, 50 rows age and sex

The loading of the data works ok, python_temp is created.
When I try
tfce_mediation step1-voxel-regress -i SSAGA_Income.csv covariates_SEX_AGE.csv
a "ValueError: all the input array dimensions except for the concatenation axis must match exactly" error occurs, obviously connected to x_covars = np.column_stack([np.ones(n),covars]) in STEP_1_voxel_tfce_multiple_regression.py

I'm using the most recent version of TFCE_mediation (1.6.1), Python 2.7 on a Ubuntu 16.04. I installed your toolbox via the third option in the wiki, direct download from GitHub and execution of the provided setup.

Thank you very much in advance for your help!

Best,
Martin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions