Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyfeeds-tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
pyfeeds-tests
Commits
cd2f484e
Commit
cd2f484e
authored
4 days ago
by
Matthew Webster
Browse files
Options
Downloads
Patches
Plain Diff
BF: Correctly kill the background eddy process(es)
parent
5d3f6ee3
No related branches found
Branches containing commit
No related tags found
1 merge request
!75
BF: Correctly kill the background eddy process(es)
Pipeline
#27841
skipped
Stage: fsl-ci-build
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fsl_course/fdt1/test_topup_eddy.sh
+7
-2
7 additions, 2 deletions
fsl_course/fdt1/test_topup_eddy.sh
with
7 additions
and
2 deletions
fsl_course/fdt1/test_topup_eddy.sh
+
7
−
2
View file @
cd2f484e
...
...
@@ -4,6 +4,8 @@
# Tests topup, eddy, and gps.
set
-e
# -m needed for correct jobs control
set
-m
set
-x
outdir
=
$1
...
...
@@ -40,15 +42,18 @@ if which eddy_openmp &> /dev/null; then
--index
=
$subdatadir
/index.txt
--acqp
=
$subdatadir
/acqparams.txt
\
--bvecs
=
$subdatadir
/bvecs
--bvals
=
$subdatadir
/bvals
\
--fwhm
=
0
--topup
=
$outdir
/topup_AP_PA_b0
--flm
=
quadratic
\
--out
=
$outdir
/eddy_unwarped_images &
sleep
10
;
kill
-s
TERM
$!
--out
=
$outdir
/eddy_unwarped_images &
elif
which eddy &> /dev/null
;
then
eddy
--imain
=
$subdatadir
/dwidata
--mask
=
$outdir
/hifi_nodif_brain_mask
\
--index
=
$subdatadir
/index.txt
--acqp
=
$subdatadir
/acqparams.txt
\
--bvecs
=
$subdatadir
/bvecs
--bvals
=
$subdatadir
/bvals
\
--fwhm
=
0
--topup
=
$outdir
/topup_AP_PA_b0
--flm
=
quadratic
\
--out
=
$outdir
/eddy_unwarped_image &
sleep
10
;
kill
-s
TERM
$!
--out
=
$outdir
/eddy_unwarped_image
s
&
fi
sleep
10
kill
%1
cp
$subdatadir
/pre_baked/eddy_unwarped_images
*
$outdir
# Finally, test the gps command, for generating bvecs
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment