Skip to content

Commit 32a8bdb

Browse files
committed
Allowed sessions with long string names
1 parent 3def32f commit 32a8bdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: lfp_tools/startup_local.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ def get_electrode_locations(species, subject, exp, session, chans_spc=None, modi
269269
locs : pandas dataframe giving the coordinates of each electrode
270270
'''
271271
full_session_name = session
272-
if len(session)==12: #For the cases like 201807250001
273-
session = session[:8]
272+
# if len(session)==12: #For the cases like 201807250001
273+
# session = session[:8]
274274

275275
if modifiedInfo:
276276
file = '/nas_data/rawdata/sub-'+subject+'/sess-'+session+'/session_info/sub-'+subject+'_sess-'+session+'_sessioninfomodified.json'

0 commit comments

Comments
 (0)