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

UserWarning: Casting data from int16 to float32 #114

Open
levchenkoegor opened this issue Aug 21, 2020 · 0 comments
Open

UserWarning: Casting data from int16 to float32 #114

levchenkoegor opened this issue Aug 21, 2020 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@levchenkoegor
Copy link

  • dmriprep version: 0.2.2
  • Python version: 3.7
  • Operating System: HPC cluster

Description

Hello!

I tried to run dMRIPrep on HPC using singularity module and faced with an error that I don't understand.

What I Did

I run the dMRIPrep like this:

module load singularity
singularity run --cleanenv ~/my_images/dmriprep-0.2.2.simg ~/OASIS-3/raw_data/controls/ ~/OASIS-3/derivatives_dmriprep/controls/ participant --participant-label $(cat ~/OASIS-3/controls_dwi_list.txt) -w ~/OASIS-3/work_dmriprep/controls/ --fs-license-file ~/freesurfer_license.txt --fs-no-reconall --skip-bids-validation

Firstly, I don't understand why it is taking only the last subject of the list. You can find it in the log file attached.
output_dmriprep_oasis_controls_1try.txt

The file controls_dwi_list.txt is attached.
controls_dwi_list.txt

Secondly, it is a Warning in the end of the log:

	 [Node] Finished "dmriprep_wf.single_subject_OAS31172_wf.anat_preproc_wf.anat_reports_wf.norm_rpt".
/usr/local/miniconda/lib/python3.7/site-packages/nilearn/image/resampling.py:513: UserWarning: Casting data from int32 to float32
  warnings.warn("Casting data from %s to %s" % (data.dtype.name, aux))
/usr/local/miniconda/lib/python3.7/site-packages/nilearn/image/resampling.py:513: UserWarning: Casting data from int16 to float32
  warnings.warn("Casting data from %s to %s" % (data.dtype.name, aux))
/usr/local/miniconda/lib/python3.7/site-packages/nilearn/image/resampling.py:513: UserWarning: Casting data from int32 to float32
  warnings.warn("Casting data from %s to %s" % (data.dtype.name, aux))
/usr/local/miniconda/lib/python3.7/site-packages/nilearn/image/resampling.py:513: UserWarning: Casting data from int16 to float32
  warnings.warn("Casting data from %s to %s" % (data.dtype.name, aux))
/usr/local/miniconda/lib/python3.7/site-packages/nilearn/image/resampling.py:513: UserWarning: Casting data from int32 to float32
  warnings.warn("Casting data from %s to %s" % (data.dtype.name, aux))
/usr/local/miniconda/lib/python3.7/site-packages/nilearn/image/resampling.py:513: UserWarning: Casting data from int16 to float32
  warnings.warn("Casting data from %s to %s" % (data.dtype.name, aux))

Can you tell me please how critical this warning to data processing?

Thank you for any ideas!

@oesteban oesteban added the bug Something isn't working label Oct 13, 2020
@oesteban oesteban added this to the 0.4.0 milestone Oct 13, 2020
@oesteban oesteban modified the milestones: 0.4.0, 0.5.0 Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants