@@ -135,7 +135,7 @@ def scale_timings(timelist, input_units, output_units, time_repetition):
135135
136136
137137def bids_gen_info (
138- bids_event_files , condition_column = "" , amplitude_column = None , time_repetition = False ,
138+ bids_event_files , condition_column = "" , amplitude_column = None , time_repetition = False
139139):
140140 """
141141 Generate a subject_info structure from a list of BIDS .tsv event files.
@@ -471,8 +471,7 @@ def _generate_standard_design(
471471 return sessinfo
472472
473473 def _generate_design (self , infolist = None ):
474- """Generate design specification for a typical fmri paradigm
475- """
474+ """Generate design specification for a typical fmri paradigm"""
476475 realignment_parameters = []
477476 if isdefined (self .inputs .realignment_parameters ):
478477 for parfile in self .inputs .realignment_parameters :
@@ -517,8 +516,7 @@ def _generate_design(self, infolist=None):
517516 )
518517
519518 def _run_interface (self , runtime ):
520- """
521- """
519+ """"""
522520 self ._sessioninfo = None
523521 self ._generate_design ()
524522 return runtime
@@ -739,7 +737,7 @@ class SpecifySparseModelOutputSpec(SpecifyModelOutputSpec):
739737
740738
741739class SpecifySparseModel (SpecifyModel ):
742- """ Specify a sparse model that is compatible with SPM/FSL designers [1]_.
740+ """Specify a sparse model that is compatible with SPM/FSL designers [1]_.
743741
744742 Examples
745743 --------
@@ -770,8 +768,7 @@ class SpecifySparseModel(SpecifyModel):
770768 output_spec = SpecifySparseModelOutputSpec
771769
772770 def _gen_regress (self , i_onsets , i_durations , i_amplitudes , nscans ):
773- """Generates a regressor for a sparse/clustered-sparse acquisition
774- """
771+ """Generates a regressor for a sparse/clustered-sparse acquisition"""
775772 bplot = False
776773 if isdefined (self .inputs .save_plot ) and self .inputs .save_plot :
777774 bplot = True
@@ -901,8 +898,7 @@ def _gen_regress(self, i_onsets, i_durations, i_amplitudes, nscans):
901898 return reg
902899
903900 def _cond_to_regress (self , info , nscans ):
904- """Converts condition information to full regressors
905- """
901+ """Converts condition information to full regressors"""
906902 reg = []
907903 regnames = []
908904 for i , cond in enumerate (info .conditions ):
0 commit comments