Skip to content

Commit 3cd8235

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0fdf7ad commit 3cd8235

File tree

106 files changed

+909
-909
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+909
-909
lines changed

nipype-auto-conv/specs/interfaces/accuracy_tester.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
#
66
# Docs
77
# ----
8-
#
8+
#
99
# Test the accuracy of an existing training dataset on a set of hand-labelled subjects.
1010
# Note: This may or may not be working. Couldn't presently not confirm because fix fails on this (even outside of nipype) without leaving an error msg.
11-
#
11+
#
1212
task_name: AccuracyTester
1313
nipype_name: AccuracyTester
1414
nipype_module: nipype.interfaces.fsl.fix
@@ -76,8 +76,8 @@ tests:
7676
# be terminated before they complete for time-saving reasons, and therefore
7777
# these values will be ignored, when running in CI
7878
timeout: 10
79-
# int - the value to set for the timeout in the generated test,
80-
# after which the test will be considered to have been initialised
79+
# int - the value to set for the timeout in the generated test,
80+
# after which the test will be considered to have been initialised
8181
# successfully. Set to 0 to disable the timeout (warning, this could
8282
# lead to the unittests taking a very long time to complete)
8383
xfail: true

nipype-auto-conv/specs/interfaces/apply_mask.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ tests:
8484
# be terminated before they complete for time-saving reasons, and therefore
8585
# these values will be ignored, when running in CI
8686
timeout: 10
87-
# int - the value to set for the timeout in the generated test,
88-
# after which the test will be considered to have been initialised
87+
# int - the value to set for the timeout in the generated test,
88+
# after which the test will be considered to have been initialised
8989
# successfully. Set to 0 to disable the timeout (warning, this could
9090
# lead to the unittests taking a very long time to complete)
9191
xfail: true

nipype-auto-conv/specs/interfaces/apply_topup.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
#
66
# Docs
77
# ----
8-
#
8+
#
99
# Interface for FSL topup, a tool for estimating and correcting
1010
# susceptibility induced distortions.
1111
# `General reference
1212
# <http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/topup/ApplytopupUsersGuide>`_
1313
# and `use example
1414
# <http://fsl.fmrib.ox.ac.uk/fsl/fslwiki/topup/ExampleTopupFollowedByApplytopup>`_.
15-
#
16-
#
15+
#
16+
#
1717
# Examples
1818
# --------
19-
#
19+
#
2020
# >>> from nipype.interfaces.fsl import ApplyTOPUP
2121
# >>> applytopup = ApplyTOPUP()
2222
# >>> applytopup.inputs.in_files = ["epi.nii", "epi_rev.nii"]
@@ -27,8 +27,8 @@
2727
# >>> applytopup.cmdline # doctest: +ELLIPSIS
2828
# 'applytopup --datain=topup_encoding.txt --imain=epi.nii,epi_rev.nii --inindex=1,2 --topup=topup --out=epi_corrected.nii.gz'
2929
# >>> res = applytopup.run() # doctest: +SKIP
30-
#
31-
#
30+
#
31+
#
3232
task_name: ApplyTOPUP
3333
nipype_name: ApplyTOPUP
3434
nipype_module: nipype.interfaces.fsl.epi
@@ -114,8 +114,8 @@ tests:
114114
# be terminated before they complete for time-saving reasons, and therefore
115115
# these values will be ignored, when running in CI
116116
timeout: 10
117-
# int - the value to set for the timeout in the generated test,
118-
# after which the test will be considered to have been initialised
117+
# int - the value to set for the timeout in the generated test,
118+
# after which the test will be considered to have been initialised
119119
# successfully. Set to 0 to disable the timeout (warning, this could
120120
# lead to the unittests taking a very long time to complete)
121121
xfail: true
@@ -138,8 +138,8 @@ tests:
138138
# be terminated before they complete for time-saving reasons, and therefore
139139
# these values will be ignored, when running in CI
140140
timeout: 10
141-
# int - the value to set for the timeout in the generated test,
142-
# after which the test will be considered to have been initialised
141+
# int - the value to set for the timeout in the generated test,
142+
# after which the test will be considered to have been initialised
143143
# successfully. Set to 0 to disable the timeout (warning, this could
144144
# lead to the unittests taking a very long time to complete)
145145
xfail: true

nipype-auto-conv/specs/interfaces/apply_warp.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Docs
77
# ----
88
# FSL's applywarp wrapper to apply the results of a FNIRT registration
9-
#
9+
#
1010
# Examples
1111
# --------
1212
# >>> from nipype.interfaces import fsl
@@ -16,9 +16,9 @@
1616
# >>> aw.inputs.ref_file = example_data('mni.nii')
1717
# >>> aw.inputs.field_file = 'my_coefficients_filed.nii' #doctest: +SKIP
1818
# >>> res = aw.run() #doctest: +SKIP
19-
#
20-
#
21-
#
19+
#
20+
#
21+
#
2222
task_name: ApplyWarp
2323
nipype_name: ApplyWarp
2424
nipype_module: nipype.interfaces.fsl.preprocess
@@ -119,8 +119,8 @@ tests:
119119
# be terminated before they complete for time-saving reasons, and therefore
120120
# these values will be ignored, when running in CI
121121
timeout: 10
122-
# int - the value to set for the timeout in the generated test,
123-
# after which the test will be considered to have been initialised
122+
# int - the value to set for the timeout in the generated test,
123+
# after which the test will be considered to have been initialised
124124
# successfully. Set to 0 to disable the timeout (warning, this could
125125
# lead to the unittests taking a very long time to complete)
126126
xfail: true

nipype-auto-conv/specs/interfaces/apply_xfm.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# ----
88
# Currently just a light wrapper around FLIRT,
99
# with no modifications
10-
#
10+
#
1111
# ApplyXFM is used to apply an existing transform to an image
12-
#
13-
#
12+
#
13+
#
1414
# Examples
1515
# --------
16-
#
16+
#
1717
# >>> import nipype.interfaces.fsl as fsl
1818
# >>> from nipype.testing import example_data
1919
# >>> applyxfm = fsl.preprocess.ApplyXFM()
@@ -23,8 +23,8 @@
2323
# >>> applyxfm.inputs.reference = example_data('mni.nii')
2424
# >>> applyxfm.inputs.apply_xfm = True
2525
# >>> result = applyxfm.run() # doctest: +SKIP
26-
#
27-
#
26+
#
27+
#
2828
task_name: ApplyXFM
2929
nipype_name: ApplyXFM
3030
nipype_module: nipype.interfaces.fsl.preprocess
@@ -208,8 +208,8 @@ tests:
208208
# be terminated before they complete for time-saving reasons, and therefore
209209
# these values will be ignored, when running in CI
210210
timeout: 10
211-
# int - the value to set for the timeout in the generated test,
212-
# after which the test will be considered to have been initialised
211+
# int - the value to set for the timeout in the generated test,
212+
# after which the test will be considered to have been initialised
213213
# successfully. Set to 0 to disable the timeout (warning, this could
214214
# lead to the unittests taking a very long time to complete)
215215
xfail: true

nipype-auto-conv/specs/interfaces/ar1_image.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# ----
88
# Use fslmaths to generate an AR1 coefficient image across a
99
# given dimension. (Should use -odt float and probably demean first)
10-
#
11-
#
10+
#
11+
#
1212
task_name: AR1Image
1313
nipype_name: AR1Image
1414
nipype_module: nipype.interfaces.fsl.maths
@@ -85,8 +85,8 @@ tests:
8585
# be terminated before they complete for time-saving reasons, and therefore
8686
# these values will be ignored, when running in CI
8787
timeout: 10
88-
# int - the value to set for the timeout in the generated test,
89-
# after which the test will be considered to have been initialised
88+
# int - the value to set for the timeout in the generated test,
89+
# after which the test will be considered to have been initialised
9090
# successfully. Set to 0 to disable the timeout (warning, this could
9191
# lead to the unittests taking a very long time to complete)
9292
xfail: true

nipype-auto-conv/specs/interfaces/av_scale.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
# Docs
77
# ----
88
# Use FSL avscale command to extract info from mat file output of FLIRT
9-
#
9+
#
1010
# Examples
1111
# --------
12-
#
12+
#
1313
# >>> avscale = AvScale()
1414
# >>> avscale.inputs.mat_file = 'flirt.mat'
1515
# >>> res = avscale.run() # doctest: +SKIP
16-
#
17-
#
18-
#
16+
#
17+
#
18+
#
1919
task_name: AvScale
2020
nipype_name: AvScale
2121
nipype_module: nipype.interfaces.fsl.utils
@@ -68,7 +68,7 @@ tests:
6868
# dict[str, str] - values to provide to inputs fields in the task initialisation
6969
# (if not specified, will try to choose a sensible value)
7070
all_param:
71-
# type=bool|default=False:
71+
# type=bool|default=False:
7272
mat_file:
7373
# type=file|default=<undefined>: mat file to read
7474
ref_file:
@@ -85,8 +85,8 @@ tests:
8585
# be terminated before they complete for time-saving reasons, and therefore
8686
# these values will be ignored, when running in CI
8787
timeout: 10
88-
# int - the value to set for the timeout in the generated test,
89-
# after which the test will be considered to have been initialised
88+
# int - the value to set for the timeout in the generated test,
89+
# after which the test will be considered to have been initialised
9090
# successfully. Set to 0 to disable the timeout (warning, this could
9191
# lead to the unittests taking a very long time to complete)
9292
xfail: true

nipype-auto-conv/specs/interfaces/b0_calc.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@
55
#
66
# Docs
77
# ----
8-
#
8+
#
99
# B0 inhomogeneities occur at interfaces of materials with different magnetic susceptibilities,
1010
# such as tissue-air interfaces. These differences lead to distortion in the local magnetic field,
1111
# as Maxwell’s equations need to be satisfied. An example of B0 inhomogneity is the first volume
1212
# of the 4D volume ```$FSLDIR/data/possum/b0_ppm.nii.gz```.
13-
#
13+
#
1414
# Examples
1515
# --------
16-
#
16+
#
1717
# >>> from nipype.interfaces.fsl import B0Calc
1818
# >>> b0calc = B0Calc()
1919
# >>> b0calc.inputs.in_file = 'tissue+air_map.nii'
2020
# >>> b0calc.inputs.z_b0 = 3.0
2121
# >>> b0calc.inputs.output_type = "NIFTI_GZ"
2222
# >>> b0calc.cmdline
2323
# 'b0calc -i tissue+air_map.nii -o tissue+air_map_b0field.nii.gz --chi0=4.000000e-07 -d -9.450000e-06 --extendboundary=1.00 --b0x=0.00 --gx=0.0000 --b0y=0.00 --gy=0.0000 --b0=3.00 --gz=0.0000'
24-
#
25-
#
24+
#
25+
#
2626
task_name: B0Calc
2727
nipype_name: B0Calc
2828
nipype_module: nipype.interfaces.fsl.possum
@@ -112,8 +112,8 @@ tests:
112112
# be terminated before they complete for time-saving reasons, and therefore
113113
# these values will be ignored, when running in CI
114114
timeout: 10
115-
# int - the value to set for the timeout in the generated test,
116-
# after which the test will be considered to have been initialised
115+
# int - the value to set for the timeout in the generated test,
116+
# after which the test will be considered to have been initialised
117117
# successfully. Set to 0 to disable the timeout (warning, this could
118118
# lead to the unittests taking a very long time to complete)
119119
xfail: true
@@ -134,8 +134,8 @@ tests:
134134
# be terminated before they complete for time-saving reasons, and therefore
135135
# these values will be ignored, when running in CI
136136
timeout: 10
137-
# int - the value to set for the timeout in the generated test,
138-
# after which the test will be considered to have been initialised
137+
# int - the value to set for the timeout in the generated test,
138+
# after which the test will be considered to have been initialised
139139
# successfully. Set to 0 to disable the timeout (warning, this could
140140
# lead to the unittests taking a very long time to complete)
141141
xfail: true

nipype-auto-conv/specs/interfaces/bedpostx5.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,30 @@
55
#
66
# Docs
77
# ----
8-
#
8+
#
99
# BEDPOSTX stands for Bayesian Estimation of Diffusion Parameters Obtained
1010
# using Sampling Techniques. The X stands for modelling Crossing Fibres.
1111
# bedpostx runs Markov Chain Monte Carlo sampling to build up distributions
1212
# on diffusion parameters at each voxel. It creates all the files necessary
1313
# for running probabilistic tractography. For an overview of the modelling
1414
# carried out within bedpostx see this `technical report
1515
# <http://www.fmrib.ox.ac.uk/analysis/techrep/tr03tb1/tr03tb1/index.html>`_.
16-
#
17-
#
16+
#
17+
#
1818
# .. note:: Consider using
1919
# :func:`niflow.nipype1.workflows.fsl.dmri.create_bedpostx_pipeline` instead.
20-
#
21-
#
20+
#
21+
#
2222
# Example
2323
# -------
24-
#
24+
#
2525
# >>> from nipype.interfaces import fsl
2626
# >>> bedp = fsl.BEDPOSTX5(bvecs='bvecs', bvals='bvals', dwi='diffusion.nii',
2727
# ... mask='mask.nii', n_fibres=1)
2828
# >>> bedp.cmdline
2929
# 'bedpostx bedpostx -b 0 --burnin_noard=0 --forcedir -n 1 -j 5000 -s 1 --updateproposalevery=40'
30-
#
31-
#
30+
#
31+
#
3232
task_name: BEDPOSTX5
3333
nipype_name: BEDPOSTX5
3434
nipype_module: nipype.interfaces.fsl.dti
@@ -52,7 +52,7 @@ inputs:
5252
grad_dev: generic/file
5353
# type=file|default=<undefined>: grad_dev file, if gradnonlin, -g is True
5454
logdir: generic/directory
55-
# type=directory|default=<undefined>:
55+
# type=directory|default=<undefined>:
5656
mask: medimage/nifti1
5757
# type=file|default=<undefined>: bet binary mask file
5858
out_dir: generic/directory
@@ -113,7 +113,7 @@ tests:
113113
bvals:
114114
# type=file|default=<undefined>: b values file
115115
logdir:
116-
# type=directory|default=<undefined>:
116+
# type=directory|default=<undefined>:
117117
n_fibres:
118118
# type=range|default=2: Maximum number of fibres to fit in each voxel
119119
model:
@@ -172,8 +172,8 @@ tests:
172172
# be terminated before they complete for time-saving reasons, and therefore
173173
# these values will be ignored, when running in CI
174174
timeout: 10
175-
# int - the value to set for the timeout in the generated test,
176-
# after which the test will be considered to have been initialised
175+
# int - the value to set for the timeout in the generated test,
176+
# after which the test will be considered to have been initialised
177177
# successfully. Set to 0 to disable the timeout (warning, this could
178178
# lead to the unittests taking a very long time to complete)
179179
xfail: true
@@ -200,8 +200,8 @@ tests:
200200
# be terminated before they complete for time-saving reasons, and therefore
201201
# these values will be ignored, when running in CI
202202
timeout: 10
203-
# int - the value to set for the timeout in the generated test,
204-
# after which the test will be considered to have been initialised
203+
# int - the value to set for the timeout in the generated test,
204+
# after which the test will be considered to have been initialised
205205
# successfully. Set to 0 to disable the timeout (warning, this could
206206
# lead to the unittests taking a very long time to complete)
207207
xfail: true

0 commit comments

Comments
 (0)