Skip to content

Commit e60e973

Browse files
committed
STY: Changes for new black version
1 parent 7696a0a commit e60e973

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

fissa/core.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ def save_prep(self, destination=None):
13231323
field: getattr(self, field)
13241324
for field in fields
13251325
if getattr(self, field) is not None
1326-
}
1326+
},
13271327
)
13281328

13291329
def separate(self, redo_prep=False, redo_sep=False):
@@ -1541,7 +1541,7 @@ def save_separated(self, destination=None):
15411541
field: getattr(self, field)
15421542
for field in fields
15431543
if getattr(self, field) is not None
1544-
}
1544+
},
15451545
)
15461546

15471547
def calc_deltaf(self, freq, use_raw_f0=True, across_trials=True):
@@ -1874,7 +1874,7 @@ def run_fissa(
18741874
return_deltaf=False,
18751875
deltaf_across_trials=True,
18761876
export_to_matfile=False,
1877-
**kwargs
1877+
**kwargs,
18781878
):
18791879
r"""
18801880
Function-based interface to run FISSA on an experiment.

fissa/neuropil.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def separate(
245245
print("{}Trying a new random state.".format(prefix))
246246
# Change to a new random_state
247247
if random_state is not None:
248-
random_state = (random_state + 1) % 2 ** 32
248+
random_state = (random_state + 1) % 2**32
249249

250250
if estimator.n_iter_ == max_iter:
251251
if verbosity >= 1:

fissa/tests/test_polygons.py

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
You should have received a copy of the GNU General Public License
2424
along with this program. If not, see <http://www.gnu.org/licenses/>.
2525
"""
26+
2627
# Unit tests for sima/ROI.py
2728
# Tests follow conventions for NumPy/SciPy available at
2829
# https://github.com/numpy/numpy/blob/master/doc/TESTS.rst.txt

0 commit comments

Comments
 (0)