Skip to content

Commit 857a7ba

Browse files
STY: Remove extraneous quotes (#859)
Left over by black when folding multiple lines into a single line. See #518.
1 parent 782a115 commit 857a7ba

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

niworkflows/interfaces/confounds.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class _SpikeRegressorsInputSpec(BaseInterfaceInputSpec):
155155
dvars_thresh = traits.Float(
156156
1.5,
157157
usedefault=True,
158-
desc="Minimum standardised DVARS threshold for flagging a frame as " "a spike.",
158+
desc="Minimum standardised DVARS threshold for flagging a frame as a spike.",
159159
)
160160
header_prefix = traits.Str(
161161
"motion_outlier",
@@ -166,7 +166,7 @@ class _SpikeRegressorsInputSpec(BaseInterfaceInputSpec):
166166
traits.Int,
167167
value=[0],
168168
usedefault=True,
169-
desc="Relative indices of lagging frames to flag for " "each flagged frame",
169+
desc="Relative indices of lagging frames to flag for each flagged frame",
170170
)
171171
minimum_contiguous = traits.Either(
172172
None,

niworkflows/interfaces/header.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ class _SanitizeImageInputSpec(BaseInterfaceInputSpec):
382382
max_32bit = traits.Bool(
383383
False,
384384
usedefault=True,
385-
desc="cast data to float32 if higher " "precision is encountered",
385+
desc="cast data to float32 if higher precision is encountered",
386386
)
387387

388388

niworkflows/interfaces/images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ class _SignalExtractionInputSpec(BaseInterfaceInputSpec):
672672
"signals.tsv",
673673
usedefault=True,
674674
exists=False,
675-
desc="The name of the file to output to. " "signals.tsv by default",
675+
desc="The name of the file to output to. signals.tsv by default",
676676
)
677677

678678

niworkflows/interfaces/plotting.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class _CompCorVariancePlotInputSpec(BaseInterfaceInputSpec):
120120
metadata_files = traits.List(
121121
File(exists=True),
122122
mandatory=True,
123-
desc="List of files containing component " "metadata",
123+
desc="List of files containing component metadata",
124124
)
125125
metadata_sources = traits.List(
126126
traits.Str,
@@ -133,7 +133,7 @@ class _CompCorVariancePlotInputSpec(BaseInterfaceInputSpec):
133133
traits.Float(0.7),
134134
traits.Float(0.9),
135135
usedefault=True,
136-
desc="Levels of explained variance to include in " "plot",
136+
desc="Levels of explained variance to include in plot",
137137
)
138138
out_file = traits.Either(
139139
None, File, value=None, usedefault=True, desc="Path to save plot"

niworkflows/interfaces/reportlets/segmentation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class _MELODICInputSpecRPT(nrb._SVGReportCapableInputSpec, fsl.model.MELODICInpu
113113
out_report = File(
114114
"melodic_reportlet.svg",
115115
usedefault=True,
116-
desc="Filename for the visual" " report generated " "by Nipype.",
116+
desc="Filename for the visual report generated by Nipype.",
117117
)
118118
report_mask = File(
119119
desc="Mask used to draw the outline on the reportlet. "
@@ -197,7 +197,7 @@ class _ICA_AROMAInputSpecRPT(
197197
out_report = File(
198198
"ica_aroma_reportlet.svg",
199199
usedefault=True,
200-
desc="Filename for the visual" " report generated " "by Nipype.",
200+
desc="Filename for the visual report generated by Nipype.",
201201
)
202202
report_mask = File(
203203
desc="Mask used to draw the outline on the reportlet. "

niworkflows/interfaces/utility.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,12 +445,12 @@ class _TSV2JSONInputSpec(BaseInterfaceInputSpec):
445445
None,
446446
traits.List(),
447447
usedefault=True,
448-
desc="List of columns in the TSV to be " "dropped from the JSON.",
448+
desc="List of columns in the TSV to be dropped from the JSON.",
449449
)
450450
enforce_case = traits.Bool(
451451
True,
452452
usedefault=True,
453-
desc="Enforce snake case for top-level keys " "and camel case for nested keys",
453+
desc="Enforce snake case for top-level keys and camel case for nested keys",
454454
)
455455

456456

niworkflows/interfaces/workbench.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,15 +282,15 @@ def _format_arg(self, opt, spec, val):
282282
if opt in ["current_area", "new_area"]:
283283
if not self.inputs.area_surfs and not self.inputs.area_metrics:
284284
raise ValueError(
285-
"{} was set but neither area_surfs or" " area_metrics were set".format(opt)
285+
"{} was set but neither area_surfs or area_metrics were set".format(opt)
286286
)
287287
if opt == "method":
288288
if (
289289
val == "ADAP_BARY_AREA"
290290
and not self.inputs.area_surfs
291291
and not self.inputs.area_metrics
292292
):
293-
raise ValueError("Exactly one of area_surfs or area_metrics" " must be specified")
293+
raise ValueError("Exactly one of area_surfs or area_metrics must be specified")
294294
if opt == "valid_roi_out" and val:
295295
# generate a filename and add it to argstr
296296
roi_out = self._gen_filename(self.inputs.in_file, suffix="_roi")

0 commit comments

Comments
 (0)