Skip to content

Commit 7ce79a8

Browse files
committed
Auto stash before merge of "mtnn" and "origin/mtnn"
flake
1 parent b6d7a12 commit 7ce79a8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

brainbox/io/one.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ def load_wheel_reaction_times(eid, one=None):
704704

705705

706706
def load_trials_df(eid, one=None, maxlen=None, t_before=0., t_after=0., ret_wheel=False,
707-
ret_abswheel=False, wheel_binsize=0.02, addtl_types=[],
707+
ret_abswheel=False, wheel_binsize=0.02, addtl_types=[],
708708
align_event='stimOn_times', keeptrials=None):
709709
"""
710710
Generate a pandas dataframe of per-trial timing information about a given session.

brainbox/modeling/neural_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def __init__(self, design_matrix, spk_times, spk_clu,
107107
spkarrs.append(arr.T)
108108
y = np.vstack(spkarrs)
109109
if hasattr(self.design, 'dm'):
110-
assert y.shape[0] == self.design.dm.shape[0], f"Oh shit. Indexing error."
110+
assert y.shape[0] == self.design.dm.shape[0], "Oh shit. Indexing error."
111111
self.binnedspikes = y
112112

113113
def combine_weights(self):

brainbox/modeling/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def neglog(weights, x, y):
3838

3939

4040
class SequentialSelector:
41-
def __init__(self, model, n_features_to_select=None,
41+
def __init__(self, model, n_features_to_select=None,
4242
direction='forward', scoring=None,
4343
train=None, test=None):
4444
"""
@@ -190,4 +190,4 @@ def _get_best_new_feature(self, mask, cells, full_scores=False):
190190
if full_scores:
191191
return maxind, trainmax, testmax, trainscores, testscores
192192
else:
193-
return maxind, trainmax, testmax
193+
return maxind, trainmax, testmax

0 commit comments

Comments
 (0)