I think I might be hitting an issue related to the one described above. I was using a singularity image of fmriprep 1.2.6-1 to process some data, which was working fine. I then upgraded to a container of version 1.3.1 and ran on some of the same data, which initially worked fine. However, I then started getting the string of errors pasted below. I never cleared out the work directory when making the version switch - not sure if that contributed. I now get the errors even though I erased the 1.3.1 singularity image, rebuilt one for 1.2.6-1, and tried running on clean data with an empty work directory. Any idea what I might be doing wrong or how I can debug? Thanks for any suggestions.
Here is the command I used:
unset PYTHONPATH
fmriprep --participant_label 01 --nthreads 8 --verbose --output-space template T1w fsnative --use-aroma --fs-license-file
/gpfs/group/sjw42/default/sjw42_collab/sw/freesurfer-6.0.1/license.txt --work /gpfs/group/sjw42/default/ASH/TEST/work /gpf
s/group/sjw42/default/ASH/TEST/bids /gpfs/group/sjw42/default/ASH/TEST/bids/derivatives participant
And here is the section of errors:
### References
/usr/local/miniconda/lib/python3.7/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
/usr/local/miniconda/lib/python3.7/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
/usr/local/miniconda/lib/python3.7/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
/usr/local/miniconda/lib/python3.7/site-packages/nilearn/datasets/neurovault.py:16: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Container
/usr/local/miniconda/lib/python3.7/site-packages/skimage/__init__.py:80: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/miniconda/lib/python3.7/site-packages/pytest.py' mode='r' encoding='utf-8'>
imp.find_module('pytest')
/usr/local/miniconda/lib/python3.7/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
/usr/local/miniconda/lib/python3.7/site-packages/networkx/classes/reportviews.py:95: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Mapping, Set, Iterable
/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/bids_layout.py:121: ResourceWarning: unclosed file <_io.TextIOWrapper name='/gpfs/group/sjw42/default/ASH/TEST/bids/dataset_description.json' mode='r' encoding='UTF-8'>
self.description = json.load(open(target, 'r'))
/usr/local/miniconda/lib/python3.7/site-packages/grabbit/core.py:436: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/config/bids.json' mode='r' encoding='UTF-8'>
domain = json.load(open(domain, 'r'))
/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/bids_layout.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name='/gpfs/group/sjw42/default/ASH/TEST/bids/task-cardguess_bold.json' mode='r' encoding='utf-8'>
encoding='utf-8'))
/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/bids_layout.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name='/gpfs/group/sjw42/default/ASH/TEST/bids/sub-01/func/sub-01_task-cardguess_run-01_bold.json' mode='r' encoding='utf-8'>
encoding='utf-8'))
/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/bids_layout.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name='/gpfs/group/sjw42/default/ASH/TEST/bids/phasediff.json' mode='r' encoding='utf-8'>
encoding='utf-8'))
/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/bids_layout.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name='/gpfs/group/sjw42/default/ASH/TEST/bids/sub-01/fmap/sub-01_phasediff.json' mode='r' encoding='utf-8'>
encoding='utf-8'))
/usr/local/miniconda/lib/python3.7/site-packages/nipype/workflows/dmri/mrtrix/group_connectivity.py:16: UserWarning: cmp not installed
warnings.warn('cmp not installed')
/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/fsl/preprocess.py:1887: UserWarning: This has not been fully tested. Please report any failures.
warn('This has not been fully tested. Please report any failures.')
/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/bids_layout.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name='/gpfs/group/sjw42/default/ASH/TEST/bids/sub-01/func/sub-01_task-cardguess_run-02_bold.json' mode='r' encoding='utf-8'>
encoding='utf-8'))
/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/fsl/preprocess.py:1887: UserWarning: This has not been fully tested. Please report any failures.
warn('This has not been fully tested. Please report any failures.')
/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/bids_layout.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name='/gpfs/group/sjw42/default/ASH/TEST/bids/sub-01/func/sub-01_task-cardguess_run-03_bold.json' mode='r' encoding='utf-8'>
encoding='utf-8'))
/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/fsl/preprocess.py:1887: UserWarning: This has not been fully tested. Please report any failures.
warn('This has not been fully tested. Please report any failures.')
/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/bids_layout.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name='/gpfs/group/sjw42/default/ASH/TEST/bids/sub-01/func/sub-01_task-cardguess_run-04_bold.json' mode='r' encoding='utf-8'>
encoding='utf-8'))
/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/fsl/preprocess.py:1887: UserWarning: This has not been fully tested. Please report any failures.
warn('This has not been fully tested. Please report any failures.')
/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/bids_layout.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name='/gpfs/group/sjw42/default/ASH/TEST/bids/sub-01/func/sub-01_task-cardguess_run-05_bold.json' mode='r' encoding='utf-8'>
encoding='utf-8'))
/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/fsl/preprocess.py:1887: UserWarning: This has not been fully tested. Please report any failures.
warn('This has not been fully tested. Please report any failures.')
/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/bids_layout.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name='/gpfs/group/sjw42/default/ASH/TEST/bids/sub-01/func/sub-01_task-cardguess_run-06_bold.json' mode='r' encoding='utf-8'>
encoding='utf-8'))
/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/fsl/preprocess.py:1887: UserWarning: This has not been fully tested. Please report any failures.
warn('This has not been fully tested. Please report any failures.')
/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/bids_layout.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name='/gpfs/group/sjw42/default/ASH/TEST/bids/task-rest_bold.json' mode='r' encoding='utf-8'>
encoding='utf-8'))
/usr/local/miniconda/lib/python3.7/site-packages/bids/layout/bids_layout.py:208: ResourceWarning: unclosed file <_io.TextIOWrapper name='/gpfs/group/sjw42/default/ASH/TEST/bids/sub-01/func/sub-01_task-rest_bold.json' mode='r' encoding='utf-8'>
encoding='utf-8'))
/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/fsl/preprocess.py:1887: UserWarning: This has not been fully tested. Please report any failures.
warn('This has not been fully tested. Please report any failures.')
Captured warning (<class 'ImportWarning'>): can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
Captured warning (<class 'ImportWarning'>): can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
Captured warning (<class 'ImportWarning'>): can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
Captured warning (<class 'ImportWarning'>): can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
Captured warning (<class 'DeprecationWarning'>): Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
Captured warning (<class 'ResourceWarning'>): unclosed file <_io.TextIOWrapper name='/usr/local/miniconda/lib/python3.7/site-packages/pytest.py' mode='r' encoding='utf-8'>
Captured warning (<class 'ImportWarning'>): can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
/usr/local/miniconda/lib/python3.7/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
/usr/local/miniconda/lib/python3.7/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
/usr/local/miniconda/lib/python3.7/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
/usr/local/miniconda/lib/python3.7/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)
/usr/local/miniconda/lib/python3.7/site-packages/nilearn/datasets/neurovault.py:16: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Container
/usr/local/miniconda/lib/python3.7/site-packages/skimage/__init__.py:80: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/local/miniconda/lib/python3.7/site-packages/pytest.py' mode='r' encoding='utf-8'>
imp.find_module('pytest')
/usr/local/miniconda/lib/python3.7/importlib/_bootstrap.py:219: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
return f(*args, **kwds)