diff --git a/fissa/core.py b/fissa/core.py index c9dec19a..06ad9076 100644 --- a/fissa/core.py +++ b/fissa/core.py @@ -1323,7 +1323,7 @@ def save_prep(self, destination=None): field: getattr(self, field) for field in fields if getattr(self, field) is not None - } + }, ) def separate(self, redo_prep=False, redo_sep=False): @@ -1541,7 +1541,7 @@ def save_separated(self, destination=None): field: getattr(self, field) for field in fields if getattr(self, field) is not None - } + }, ) def calc_deltaf(self, freq, use_raw_f0=True, across_trials=True): @@ -1874,7 +1874,7 @@ def run_fissa( return_deltaf=False, deltaf_across_trials=True, export_to_matfile=False, - **kwargs + **kwargs, ): r""" Function-based interface to run FISSA on an experiment. diff --git a/fissa/neuropil.py b/fissa/neuropil.py index 3f089aac..8fbea3cb 100644 --- a/fissa/neuropil.py +++ b/fissa/neuropil.py @@ -245,7 +245,7 @@ def separate( print("{}Trying a new random state.".format(prefix)) # Change to a new random_state if random_state is not None: - random_state = (random_state + 1) % 2 ** 32 + random_state = (random_state + 1) % 2**32 if estimator.n_iter_ == max_iter: if verbosity >= 1: diff --git a/fissa/tests/test_polygons.py b/fissa/tests/test_polygons.py index 7aae06da..2d1a079a 100644 --- a/fissa/tests/test_polygons.py +++ b/fissa/tests/test_polygons.py @@ -23,6 +23,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . """ + # Unit tests for sima/ROI.py # Tests follow conventions for NumPy/SciPy available at # https://github.com/numpy/numpy/blob/master/doc/TESTS.rst.txt