diff --git a/master/_modules/niworkflows/interfaces/bids.html b/master/_modules/niworkflows/interfaces/bids.html index dc264df63d4..c2e13486df2 100644 --- a/master/_modules/niworkflows/interfaces/bids.html +++ b/master/_modules/niworkflows/interfaces/bids.html @@ -1117,7 +1117,7 @@
_copy_any(in_file, out_file)
if self.inputs.metadata:
- sidecar = out_file.parent / f"{out_file.name.split('.', 1)[0]}.json"
+ sidecar = out_file.parent / f'{out_file.name.split(".", 1)[0]}.json'
sidecar.unlink(missing_ok=True)
sidecar.write_text(dumps(self.inputs.metadata, indent=2))
self._results['out_meta'].append(str(sidecar))
@@ -1583,7 +1583,7 @@ Source code for niworkflows.interfaces.bids
{k: getattr(self.inputs, k) for k in meta_fields if k not in self._static_traits}
)
if self._metadata:
- sidecar = out_file.parent / f"{out_file.name.split('.', 1)[0]}.json"
+ sidecar = out_file.parent / f'{out_file.name.split(".", 1)[0]}.json'
unlink(sidecar, missing_ok=True)
sidecar.write_text(dumps(self._metadata, sort_keys=True, indent=2))
self._results['out_meta'] = str(sidecar)
@@ -1836,8 +1836,8 @@ Source code for niworkflows.interfaces.bids
return f'{xyz} mm^3'
return (
- f"Template {space} ({_fmt_xyz(res_meta['zooms'])}),"
- f" curated by TemplateFlow {tf.__version__}"
+ f'Template {space} ({_fmt_xyz(res_meta["zooms"])}),'
+ f' curated by TemplateFlow {tf.__version__}'
)
diff --git a/master/_modules/niworkflows/interfaces/confounds.html b/master/_modules/niworkflows/interfaces/confounds.html
index 2ef00deae7d..5afbbf4ace2 100644
--- a/master/_modules/niworkflows/interfaces/confounds.html
+++ b/master/_modules/niworkflows/interfaces/confounds.html
@@ -514,8 +514,7 @@ Source code for niworkflows.interfaces.confounds
concatenate = traits.Bool(
True,
usedefault=True,
- desc='Indicates whether to concatenate spikes to existing confounds '
- 'or return spikes only',
+ desc='Indicates whether to concatenate spikes to existing confounds or return spikes only',
)
output_format = traits.Enum(
'spikes', 'mask', usedefault=True, desc='Format of output (spikes or mask)'
diff --git a/master/_modules/niworkflows/interfaces/images.html b/master/_modules/niworkflows/interfaces/images.html
index aeb9453078b..43456c47b82 100644
--- a/master/_modules/niworkflows/interfaces/images.html
+++ b/master/_modules/niworkflows/interfaces/images.html
@@ -1057,8 +1057,7 @@ Source code for niworkflows.interfaces.images
# This check assumes all input masks have same dimensions
if img.shape[:3] != mask_imgs[0].shape[:3]:
raise NotImplementedError(
- 'Input image and mask should be of '
- 'same dimensions before running SignalExtraction'
+ 'Input image and mask should be of same dimensions before running SignalExtraction'
)
# Load the mask.
# If mask is a list, each mask is treated as its own ROI/parcel
diff --git a/master/_modules/niworkflows/interfaces/itk.html b/master/_modules/niworkflows/interfaces/itk.html
index 3ae4049b9be..60b1e5017fa 100644
--- a/master/_modules/niworkflows/interfaces/itk.html
+++ b/master/_modules/niworkflows/interfaces/itk.html
@@ -426,8 +426,7 @@ Source code for niworkflows.interfaces.itk
input_image = InputMultiObject(
File(exists=True),
mandatory=True,
- desc='input time-series as a list of volumes after splitting'
- ' through the fourth dimension',
+ desc='input time-series as a list of volumes after splitting through the fourth dimension',
)
num_threads = traits.Int(1, usedefault=True, nohash=True, desc='number of parallel processes')
save_cmd = traits.Bool(
diff --git a/master/_modules/niworkflows/interfaces/nibabel.html b/master/_modules/niworkflows/interfaces/nibabel.html
index a514ff559b6..dcfe2f871b4 100644
--- a/master/_modules/niworkflows/interfaces/nibabel.html
+++ b/master/_modules/niworkflows/interfaces/nibabel.html
@@ -525,7 +525,7 @@ Source code for niworkflows.interfaces.nibabel
img = nb.load(in_file)
extra_dims = tuple(dim for dim in img.shape[3:] if dim > 1) or (1,)
if len(extra_dims) != 1:
- raise ValueError(f"Invalid shape {'x'.join(str(s) for s in img.shape)}")
+ raise ValueError(f'Invalid shape {"x".join(str(s) for s in img.shape)}')
img = img.__class__(
img.dataobj.reshape(img.shape[:3] + extra_dims), img.affine, img.header
)
diff --git a/master/_modules/niworkflows/interfaces/surf.html b/master/_modules/niworkflows/interfaces/surf.html
index cd316ca4e0b..ecb832fb3a3 100644
--- a/master/_modules/niworkflows/interfaces/surf.html
+++ b/master/_modules/niworkflows/interfaces/surf.html
@@ -529,7 +529,7 @@
Source code for niworkflows.interfaces.surf
in_file = Path(self.inputs.in_file)
extension = ''.join(in_file.suffixes[-((in_file.suffixes[-1] == '.gz') + 1) :])
info = self._pattern.match(in_file.name[: -len(extension)]).groupdict()
- self._results['extension'] = f"{info.pop('extprefix', None) or ''}{extension}"
+ self._results['extension'] = f'{info.pop("extprefix", None) or ""}{extension}'
self._results.update(info)
if 'hemi' in self._results:
self._results['hemi'] = self._results['hemi'].upper()
diff --git a/master/_modules/niworkflows/interfaces/workbench.html b/master/_modules/niworkflows/interfaces/workbench.html
index ebe3ce0576d..ec305eec877 100644
--- a/master/_modules/niworkflows/interfaces/workbench.html
+++ b/master/_modules/niworkflows/interfaces/workbench.html
@@ -452,8 +452,7 @@ Source code for niworkflows.interfaces.workbench
argstr='-exponent %f ',
position=9,
default=6.0,
- desc='exponent n to use in (area / (distance ^ n)) as the '
- 'weighting function (default 6)',
+ desc='exponent n to use in (area / (distance ^ n)) as the weighting function (default 6)',
)
corrected_areas = File(
diff --git a/master/_modules/niworkflows/utils/testing.html b/master/_modules/niworkflows/utils/testing.html
index 19a8b30b520..61e2971adf5 100644
--- a/master/_modules/niworkflows/utils/testing.html
+++ b/master/_modules/niworkflows/utils/testing.html
@@ -436,7 +436,7 @@ Source code for niworkflows.utils.testing
[docs]
def combine_entities(**entities):
- return f"_{'_'.join([f'{lab}-{val}' for lab, val in entities.items()])}" if entities else ''
+ return f'_{"_".join([f"{lab}-{val}" for lab, val in entities.items()])}' if entities else ''
diff --git a/master/api/niworkflows-anat-ants-1.pdf b/master/api/niworkflows-anat-ants-1.pdf
index de4b7645798..2c8b46b98f2 100644
Binary files a/master/api/niworkflows-anat-ants-1.pdf and b/master/api/niworkflows-anat-ants-1.pdf differ
diff --git a/master/api/niworkflows-anat-ants-2.pdf b/master/api/niworkflows-anat-ants-2.pdf
index d023ef4f132..bdc71fe2d8d 100644
Binary files a/master/api/niworkflows-anat-ants-2.pdf and b/master/api/niworkflows-anat-ants-2.pdf differ
diff --git a/master/api/niworkflows-anat-ants-3.pdf b/master/api/niworkflows-anat-ants-3.pdf
index 3259e9b46d5..1a9e7ffc697 100644
Binary files a/master/api/niworkflows-anat-ants-3.pdf and b/master/api/niworkflows-anat-ants-3.pdf differ
diff --git a/master/api/niworkflows-anat-coregistration-1.pdf b/master/api/niworkflows-anat-coregistration-1.pdf
index 4022080d2c5..c5756529340 100644
Binary files a/master/api/niworkflows-anat-coregistration-1.pdf and b/master/api/niworkflows-anat-coregistration-1.pdf differ
diff --git a/master/api/niworkflows-anat-freesurfer-1.pdf b/master/api/niworkflows-anat-freesurfer-1.pdf
index c2bef7d1b9d..f76ba4a6ccb 100644
Binary files a/master/api/niworkflows-anat-freesurfer-1.pdf and b/master/api/niworkflows-anat-freesurfer-1.pdf differ
diff --git a/master/api/niworkflows-anat-skullstrip-1.pdf b/master/api/niworkflows-anat-skullstrip-1.pdf
index e04ef275782..464a80d1a1f 100644
Binary files a/master/api/niworkflows-anat-skullstrip-1.pdf and b/master/api/niworkflows-anat-skullstrip-1.pdf differ
diff --git a/master/api/niworkflows-func-util-1.pdf b/master/api/niworkflows-func-util-1.pdf
index 15e5b6acc9f..b23f4f903e2 100644
Binary files a/master/api/niworkflows-func-util-1.pdf and b/master/api/niworkflows-func-util-1.pdf differ
diff --git a/master/api/niworkflows-func-util-2.pdf b/master/api/niworkflows-func-util-2.pdf
index cd92fc351fd..4355a40b705 100644
Binary files a/master/api/niworkflows-func-util-2.pdf and b/master/api/niworkflows-func-util-2.pdf differ
diff --git a/master/api/niworkflows-func-util-3.pdf b/master/api/niworkflows-func-util-3.pdf
index 1b1f3dff270..1697d6d5a60 100644
Binary files a/master/api/niworkflows-func-util-3.pdf and b/master/api/niworkflows-func-util-3.pdf differ
diff --git a/master/api/niworkflows-workflows-epi-refmap-1.pdf b/master/api/niworkflows-workflows-epi-refmap-1.pdf
index ec061537e96..63fc5cb422a 100644
Binary files a/master/api/niworkflows-workflows-epi-refmap-1.pdf and b/master/api/niworkflows-workflows-epi-refmap-1.pdf differ
diff --git a/master/api/niworkflows.interfaces.confounds.html b/master/api/niworkflows.interfaces.confounds.html
index d0d82544145..4f4ad1cffb7 100644
--- a/master/api/niworkflows.interfaces.confounds.html
+++ b/master/api/niworkflows.interfaces.confounds.html
@@ -450,14 +450,14 @@
indicates that the first and second exponential terms should be added.
To retain the original terms, 1
must be included in the list.
variables (list
of str
) – List of variables for which exponential terms should be computed.
-data (DataFrame
) – Table of values of all observations of all variables.
+data (DataFrame
) – Table of values of all observations of all variables.
Returns:
variables_exp (list
) – A list of variables to include in the final data frame after adding
the specified exponential terms.
-data_exp (DataFrame
) – Table of values of all observations of all variables, including any
+
data_exp (DataFrame
) – Table of values of all observations of all variables, including any
specified exponential terms.
@@ -474,13 +474,13 @@
Returns:
@@ -524,7 +524,7 @@
Temporal derivatives and exponential terms are computed for all terms
in the grouping symbols that they adjoin.
-parent_data (DataFrame
) – A tabulation of all values usable in the model formula. Each additive
+
parent_data (DataFrame
) – A tabulation of all values usable in the model formula. Each additive
term in model_formula should correspond either to a variable in this
data frame or to instructions for operating on a variable (for
instance, computing temporal derivatives or exponential terms).
@@ -534,7 +534,7 @@
@@ -548,7 +548,7 @@
- Parameters:
-data (DataFrame
) – A tabulation of observations from which spike regressors should be
+
data (DataFrame
) – A tabulation of observations from which spike regressors should be
estimated.
criteria (dict
of (str
, '>'
or '<'
or float
)) – Criteria for generating a spike regressor. If, for a given frame, the
value of the variable corresponding to the key exceeds the threshold
@@ -575,7 +575,7 @@
data – The input DataFrame with a column for each spike regressor.
- Return type:
--
+
-
References
@@ -601,14 +601,14 @@
To retain the original terms, 0
must be included in the list.
variables (list
of str
) – List of variables for which temporal derivative terms should be
computed.
-data (DataFrame
) – Table of values of all observations of all variables.
+data (DataFrame
) – Table of values of all observations of all variables.
Returns:
variables_deriv (list
) – A list of variables to include in the final data frame after adding
the specified derivative terms.
-data_deriv (DataFrame
) – Table of values of all observations of all variables, including any
+
data_deriv (DataFrame
) – Table of values of all observations of all variables, including any
specified derivative terms.
diff --git a/master/api/niworkflows.viz.html b/master/api/niworkflows.viz.html
index 7c4b4152b3d..58c319401f2 100644
--- a/master/api/niworkflows.viz.html
+++ b/master/api/niworkflows.viz.html
@@ -363,7 +363,7 @@
sort_rows (str
or False
or None
) – Apply a clustering algorithm to reorganize the rows of the carpet.
""
, False
, and None
skip clustering sorting.
"linkage"
uses linkage hierarchical clustering
-scipy.cluster.hierarchy.linkage
.
+scipy.cluster.hierarchy.linkage
.
Any other value that Python evaluates to True
will use the
default clustering, which is sklearn.cluster.ward_tree
.
diff --git a/master/api/niworkflows.viz.plots.html b/master/api/niworkflows.viz.plots.html
index 25379ec1701..60157fe37f3 100644
--- a/master/api/niworkflows.viz.plots.html
+++ b/master/api/niworkflows.viz.plots.html
@@ -516,7 +516,7 @@
sort_rows (str
or False
or None
) – Apply a clustering algorithm to reorganize the rows of the carpet.
""
, False
, and None
skip clustering sorting.
"linkage"
uses linkage hierarchical clustering
-scipy.cluster.hierarchy.linkage
.
+scipy.cluster.hierarchy.linkage
.
Any other value that Python evaluates to True
will use the
default clustering, which is sklearn.cluster.ward_tree
.