You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that while create_session_directory supports the creation of subdirectories within a session, it does not currently support the creation of nested subfolders within those subdirectories.
For example, I am trying to adapt SESSION_FOLDERS to contain 00_origiSeshs, with subfolders origSesh00 to origSesh09, and each of these subfolders should contain additional subfolders named "behavior", "neural", and "audio". The current implementation creates the origSeshXX subfolders correctly but does not create the further nested folders.
I think this could be implemented by adding at the end of the function:
for nested_subfolder in nested_subfolders:
make_folder(recordings_path / subject / experiment / session / subdir / subfolder / nested_subfolder)
The text was updated successfully, but these errors were encountered:
I noticed that while create_session_directory supports the creation of subdirectories within a session, it does not currently support the creation of nested subfolders within those subdirectories.
For example, I am trying to adapt SESSION_FOLDERS to contain 00_origiSeshs, with subfolders origSesh00 to origSesh09, and each of these subfolders should contain additional subfolders named "behavior", "neural", and "audio". The current implementation creates the origSeshXX subfolders correctly but does not create the further nested folders.
I think this could be implemented by adding at the end of the function:
The text was updated successfully, but these errors were encountered: