JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for UKB-NEUROIMAGING Archives


UKB-NEUROIMAGING Archives

UKB-NEUROIMAGING Archives


UKB-NEUROIMAGING@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

UKB-NEUROIMAGING Home

UKB-NEUROIMAGING Home

UKB-NEUROIMAGING  December 2018

UKB-NEUROIMAGING December 2018

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Pipeline error

From:

Chris Brown <[log in to unmask]>

Reply-To:

UK Biobank Neuroimaging <[log in to unmask]>

Date:

Sun, 16 Dec 2018 12:07:03 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (60 lines)

Hi Fidel

Thanks for your reply. 

I’ve traced the error on that line 70 to the “jobPREPAREFIELDMAP” variable, which appears to not have been assigned a value. If I assign a number to that variable (e.g. jobPREPAREFIELDMAP = 0) between lines 69 and 70, then the topup function works fine. But I don’t know whether that value is important for how the topup function runs, or if it just there for logging purposes?

It's not clear why the previous line (69) does not assign an output, but the log suggests a problem in bb_prepare_struct_fieldmap. There are errors reported from that function in the log output from bb_pipeline_struct:

"bb_prepare_struct_fieldmap_MNP_test1" -l /home/cab79/Data/MNP_test1/logs/ -j 3758 $BB_BIN_DIR/bb_structural_pipeline/bb_prepare_struct_fieldmap MNP_test1 
2018-12-16 11:23:59,129 - bb_pipeline_struct - ERROR - Exception type: 	<class 'subprocess.CalledProcessError'> 
2018-12-16 11:23:59,129 - bb_pipeline_struct - ERROR - Exception args: 	(1, '${FSLDIR}/bin/fsl_sub -T 5 -N "bb_prepare_struct_fieldmap_MNP_test1" -l /home/cab79/Data/MNP_test1/logs/ -j 3758 $BB_BIN_DIR/bb_structural_pipeline/bb_prepare_struct_fieldmap MNP_test1') 
2018-12-16 11:23:59,129 - bb_pipeline_struct - ERROR - Exception message: 	Command '${FSLDIR}/bin/fsl_sub -T 5 -N "bb_prepare_struct_fieldmap_MNP_test1" -l /home/cab79/Data/MNP_test1/logs/ -j 3758 $BB_BIN_DIR/bb_structural_pipeline/bb_prepare_struct_fieldmap MNP_test1' returned non-zero exit status 1 
2018-12-16 11:23:59,129 - bb_pipeline_struct - INFO - COMMAND TO RUN: 	${FSLDIR}/bin/fsl_sub -T 90 -N "bb_topup_MNP_test1" -l /home/cab79/Data/MNP_test1/logs/ -j 0 ${FSLDIR}/bin/topup --imain=MNP_test1/fieldmap/B0_AP_PA --datain=MNP_test1/fieldmap/acqparams.txt --config=b02b0.cnf --out=MNP_test1/fieldmap/fieldmap_out --fout=MNP_test1/fieldmap/fieldmap_fout --jacout=MNP_test1/fieldmap/fieldmap_jacout -v 

But, the log outputs from bb_prepare_struct_fieldmap look ok as far as I can tell:

+ numAP=1
+ numPA=1
+ '[' '!' -d MNP_test1/fieldmap ']'
++ /usr/local/fsl/bin/fslval MNP_test1/dMRI/raw/AP.nii.gz dim2
+ numlines='104 '
++ /home/cab79/UK_biobank_pipeline_v_1/bb_pipeline_tools/bb_get_dwell_time MNP_test1/dMRI/raw/AP.nii.gz
+ dtiDwell=0.67
++ bc
++ echo 'scale=4;(0.67 * (104' ' -1.0)) / 1000.0 '
+ topupValue=0.0690
+ cat /dev/null
++ seq 1 1
+ for i in '`seq 1 $numAP`'
+ printf '0 -1 0 0.0690\n'
++ seq 1 1
+ for i in '`seq 1 $numPA`'
+ printf '0 1 0 0.0690\n'
++ /usr/local/fsl/bin/fslval MNP_test1/fieldmap/B0_AP_PA dim3
+ Zslices='72 '
++ expr 72 % 2
+ rem=0

This is also using fsl_sub, but as the topup line seems to work ok (with a dummy value for jobPREPAREFIELDMAP) I assume it is not a problem with fsl_sub. If it's ok to fudge it by assigning an arbitrary value to jobPREPAREFIELDMAP, I can do that for now, but I worry that bb_prepare_struct_fieldmap might not be producing the correct image outputs if it is producing errors.

On a separate note: Further along the pipeline, I think there is an error in the bb_GDC script. On line 97 it says:

${FSLDIR}/bin/fslroi ${InputFile}.nii.gz $WD/${BaseName}_vol1.nii.gz 0 1

But I think it should be without the .nii.gz after InputFile:

${FSLDIR}/bin/fslroi ${InputFile} $WD/${BaseName}_vol1.nii.gz 0 1

At least, I had to remove that for it to run properly.

I now have some further problems with running the gradientunwarp package but will send details in a further message as this one is getting long!

Many thanks
Chris

########################################################################

To unsubscribe from the UKB-NEUROIMAGING list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=UKB-NEUROIMAGING&A=1

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
November 2022
October 2022
September 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
April 2017
February 2017
March 2016
November 2015
October 2015


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager