From 0b2b11afe9fa0eea5df7f4bf76d2b0eb910fd7f2 Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Mon, 18 Dec 2023 10:19:33 -0500 Subject: [PATCH] fix session ID for automatic upload --- src/jazayeri_lab_to_nwb/watters/watters_convert_session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jazayeri_lab_to_nwb/watters/watters_convert_session.py b/src/jazayeri_lab_to_nwb/watters/watters_convert_session.py index cc50b95..d7c1072 100644 --- a/src/jazayeri_lab_to_nwb/watters/watters_convert_session.py +++ b/src/jazayeri_lab_to_nwb/watters/watters_convert_session.py @@ -80,7 +80,7 @@ def session_to_nwb( output_dir_path = output_dir_path / "nwb_stub" output_dir_path.mkdir(parents=True, exist_ok=True) - session_id = f"ses-{data_dir.name}" + session_id = data_dir.name raw_nwbfile_path = output_dir_path / f"{session_id}_raw.nwb" processed_nwbfile_path = output_dir_path / f"{session_id}_processed.nwb" logging.info(f"raw_nwbfile_path = {raw_nwbfile_path}")