maartenmennes/ICA-AROMA

ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216

GerardYu opened this issue · 2 comments

Hi Maarten,
I found out that if i specify the feat folder instead of the individual files (like in the previous issue i've raised), i could a little progress further with the ICA-AROMA script, though it still could not be completed

--------------- 'ICA-based Automatic Removal Of Motion Artifacts' ---------------

Step 1) MELODIC
Step 2) Automatic classification of the components

  • registering the spatial maps to MNI
  • extracting the CSF & Edge fraction features
  • extracting the Maximum RP correlation feature
  • extracting the High-frequency content feature
  • classification
    Traceback (most recent call last):
    File "../ICA-AROMA/ICA_AROMA.py", line 226, in
    outDir)
    File "/bcs/projects/gerard_TDCSCogTraining/cross/REST/ICA-AROMA/classification_plots.py", line 6, in classification_plot
    import pandas as pd
    File "/home/gerard/.local/lib/python2.7/site-packages/pandas/init.py", line 26, in
    from pandas._libs import (hashtable as _hashtable,
    File "/home/gerard/.local/lib/python2.7/site-packages/pandas/_libs/init.py", line 4, in
    from .tslib import iNaT, NaT, Timestamp, Timedelta, OutOfBoundsDatetime
    File "init.pxd", line 872, in init pandas._libs.tslib
    ValueError: numpy.ufunc has the wrong size, try recompiling. Expected 192, got 216

hmm, we haven't seen this error before. Have you got the latest versions of numpy and pandas installed?

I reinstalled numpy and pandas and it worked now.
thanks!