From ed2c8b84b0bf01c755309dad68672c33c9b05567 Mon Sep 17 00:00:00 2001 From: Florian Rau Date: Tue, 31 Oct 2023 16:23:48 +0000 Subject: [PATCH] Update session_creator.py --- iblrig/session_creator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iblrig/session_creator.py b/iblrig/session_creator.py index 62cb65dc4..a3c4870f8 100644 --- a/iblrig/session_creator.py +++ b/iblrig/session_creator.py @@ -132,10 +132,10 @@ def make_passiveCW_session_delays_ids(seed_num=None): # XXX # get the delays between the stims (add the first delay) sess_delays_out = np.insert(np.diff(sess_delays_cumsum), 0, sess_delays_cumsum[0]) tot_dur = ( - np.sum( - np.sum(g_len) + np.sum(n_len) + np.sum(t_len) + np.sum(v_len) + np.sum(sess_delays_out) - ) - / 60 + np.sum( + np.sum(g_len) + np.sum(n_len) + np.sum(t_len) + np.sum(v_len) + np.sum(sess_delays_out) + ) + / 60 ) # print(f'Stim IDs: {sess_labels_out}')