Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportWarning and no outputs of preprocessing data #52

Closed
xj2019 opened this issue Jan 18, 2019 · 5 comments
Closed

ImportWarning and no outputs of preprocessing data #52

xj2019 opened this issue Jan 18, 2019 · 5 comments

Comments

@xj2019
Copy link

xj2019 commented Jan 18, 2019

Dear all,

I am a fresh hand trying to run fmriprep with Singularity 2.6.1-dist. In the parent directory path of subject data, I used command line as bellows:

singularity run --cleanenv /opt/fmriprep-1.2.5.simg ./subj_data/ ./prep/ participant -w ./work/ --fs-license-file ./license.txt

However, after bids validation, there are some warnings like:

_/usr/local/miniconda/lib/python3.6/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.6/site-packages/skimage/init.py:80: ResourceWarning: unclosed file <io.TextIOWrapper name='/usr/local/miniconda/lib/python3.6/site-packages/pytest.py' mode='r' encoding='utf-8'>

At last, an Error was reported in a summary:

Node Name: fmriprep_wf.single_subject_01_wf.anat_preproc_wf.surface_recon_wf.autorecon1

I would appreciate it if someone could let me know what the problem is.

@effigies
Copy link
Member

Those warnings can be ignored. They're Python issues that hopefully will resolve as upstream libraries attend to them, and we upgrade our dependencies.

Can you provide any more detail from the autorecon1 error, though? There should be a traceback to go with it. Alternately, you can dig through the FreeSurfer directory in your output directory for logs in sub-01/scripts.

@xj2019
Copy link
Author

xj2019 commented Jan 21, 2019

Those warnings can be ignored. They're Python issues that hopefully will resolve as upstream libraries attend to them, and we upgrade our dependencies.

Can you provide any more detail from the autorecon1 error, though? There should be a traceback to go with it. Alternately, you can dig through the FreeSurfer directory in your output directory for logs in sub-01/scripts.

Thank you for your reply. I read the log file in sub-01/scripts and found there is an error as follows:

ERROR! FOV=272.000 > 256
Include the flag -cw256 with recon-all!
Inspect orig.mgz to ensure the head is fully visible.

Maybe it is because we used high resolution T1 data (0.85 mm * 0.85 mm * 0.85 mm). I searched on the Internet but have no idea about how to resolve this .

I would appreciate it if you could give me some suggestions.

Thank you for your time :)

@oesteban
Copy link
Member

We very recently addressed that problem (#36), however I can't make any promises about when that code will be integrated within fMRIPrep.

For now, the most straightforward solution is to crop your T1w images that have more than 256 voxels along any dimension.

@effigies
Copy link
Member

Hi @xj2019 would you have any interest in porting that change back over to fMRIPrep? The code bases haven't diverged very far, yet. I'd be happy to walk you through the process, if you need help getting started.

@oesteban
Copy link
Member

The fix is now released with fMRIPrep.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants