[Debian-med-packaging] Bug#877344: python-mne FTBFS: ERROR: Test ICA on raw and epochs

Adrian Bunk bunk at debian.org
Sat Sep 30 17:54:04 UTC 2017


Source: python-mne
Version: 0.13.1+dfsg-3
Severity: serious
Tags: buster sid

Some recent change in unstable makes python-mne FTBFS:

https://tests.reproducible-builds.org/debian/history/python-mne.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-mne.html

...
======================================================================
ERROR: Test ICA on raw and epochs.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/build/1st/python-mne-0.13.1+dfsg/mne/utils.py", line 824, in dec
    return function(*args, **kwargs)
  File "/build/1st/python-mne-0.13.1+dfsg/mne/preprocessing/tests/test_ica.py", line 214, in test_ica_core
    ica.fit(raw, picks=pcks, start=start, stop=stop)
  File "<string>", line 2, in fit
  File "/build/1st/python-mne-0.13.1+dfsg/mne/utils.py", line 708, in verbose
    return function(*args, **kwargs)
  File "/build/1st/python-mne-0.13.1+dfsg/mne/preprocessing/ica.py", line 359, in fit
    tstep, verbose)
  File "/build/1st/python-mne-0.13.1+dfsg/mne/preprocessing/ica.py", line 425, in _fit_raw
    self._fit(data, self.max_pca_components, 'raw')
  File "/build/1st/python-mne-0.13.1+dfsg/mne/preprocessing/ica.py", line 539, in _fit
    raise RuntimeError('One PCA component captures most of the '
RuntimeError: One PCA component captures most of the explained variance, your threshold results in 0 components. You should select a higher value.
-------------------- >> begin captured stdout << ---------------------
Opening raw data file /build/1st/python-mne-0.13.1+dfsg/mne/io/tests/data/test_raw.fif...
    Read a total of 3 projection items:
        PCA-v1 (1 x 102)  idle
        PCA-v2 (1 x 102)  idle
        PCA-v3 (1 x 102)  idle
    Range : 25800 ... 40199 =     42.956 ...    66.930 secs
Ready.
Current compensation grade : 0
Reading 0 ... 2703  =      0.000 ...     4.500 secs...
    366 x 366 full covariance (kind = 1) found.
    Read a total of 4 projection items:
        PCA-v1 (1 x 102) active
        PCA-v2 (1 x 102) active
        PCA-v3 (1 x 102) active
        Average EEG reference (1 x 60) active
1 matching events found
Applying baseline correction (mode: mean)
Created an SSP operator (subspace dimension = 3)
3 projection items activated
Loading data for 1 events and 241 original time points ...
0 bad epochs dropped
<ICA  |  no decomposition, fit (fastica):  samples, no dimension reduction>
Fitting ICA to data using 306 channels. 
Please be patient, this may take some time
Selection by number: 2 components
Fitting ICA to data using 306 channels. 
Please be patient, this may take some time
Selection by number: 2 components
Fitting ICA to data using 306 channels. 
Please be patient, this may take some time
Selection by number: 2 components
<ICA  |  epochs decomposition, fit (fastica): 241 samples, 2 components, channels used: "mag"; "grad">
<ICA  |  no decomposition, fit (fastica):  samples, no dimension reduction>
Fitting ICA to data using 306 channels. 
Please be patient, this may take some time

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 628 tests in 878.575s

FAILED (SKIP=225, errors=1)
debian/rules:25: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1



More information about the Debian-med-packaging mailing list