SIMEXP / niak

GNU Octave library for connectivity analysis in large fMRI datasets
http://niak.simexp-lab.org
Other
27 stars 21 forks source link

Make niak_write_nifti compatible with octave 64 #360

Closed poquirion closed 7 years ago

poquirion commented 7 years ago
***********************************************                                                                                        
  Log file of job resample_aal (status failed) 
***********************************************

******************************
Log of the (octave) job : resample_aal
Started on 28-Jul-2017 17:03:12
User: yassinebha
host : stark
system : unix
******************************

 Reading source volume information /usr/local/niak/template/roi_aal_3mm.mnc.gz ...

 Reading target volume information /usr/local/niak/template/roi_aal_3mm.mnc.gz ...

 Resampling source on target ...
Cleaning temporary files
Done!
Copying or converting file /tmp/niak_tmp_resample_aal_228151180_template_aal/resample.mnc to /data/cisl/HCP/hcp_preprocessed/fmri_preprocess_a$l_tasks-rest_niak-017_2subj/anat/template_aal.nii.gz

Something went bad ... the job has FAILED !
The last error message occured was :
octave_base_value::write(): wrong type argument 'int16 scalar'
File /usr/local/niak/commands/read_write/niak_write_nifti.m at line 258
File /usr/local/niak/commands/read_write/niak_write_vol.m at line 294
File /usr/local/niak/commands/read_write/niak_cp_fmri.m at line 81
File /usr/local/niak/bricks/misc/niak_brick_copy.m at line 147
File /usr/local/niak/bricks/fmri_preprocess/niak_brick_resample_vol.m at line 253
File /usr/local/niak/extensions/psom-2.3.1/psom_run_job.m at line 185
File /usr/local/niak/extensions/psom-2.3.1/psom_run_job.m at line 106
File /usr/local/niak/extensions/psom-2.3.1/psom_worker.m at line 161
poquirion commented 7 years ago

fixed in issue #361 when the bids options where updated