diff --git a/notebooks/decode_context_linear_shift_w_repeats_analysis.ipynb b/notebooks/decode_context_linear_shift_w_repeats_analysis.ipynb index a6b39a4..99b9d18 100644 --- a/notebooks/decode_context_linear_shift_w_repeats_analysis.ipynb +++ b/notebooks/decode_context_linear_shift_w_repeats_analysis.ipynb @@ -26,7 +26,7 @@ "outputs": [], "source": [ "#set path to decoding results\n", - "loadpath=dra.DECODING_ROOTH_PATH / \"new_annotations\" / \"linear_shift_20_units\"\n", + "loadpath=dra.DECODING_ROOT_PATH / \"new_annotations\" / \"linear_shift_20_units\"\n", "files=glob.glob(os.path.join(loadpath,'*_decoding_results*.pkl'))" ] }, @@ -630,7 +630,7 @@ "\n", "if save_table:\n", " savepath = (\n", - " dra.DECODING_ROOTH_PATH\n", + " dra.DECODING_ROOT_PATH\n", " / \"new_annotations\"\n", " / \"linear_shift_20_units\"\n", " / \"combined\"\n", diff --git a/notebooks/decode_context_linear_shift_w_repeats_trialwise_analysis.ipynb b/notebooks/decode_context_linear_shift_w_repeats_trialwise_analysis.ipynb index bf62807..5575830 100644 --- a/notebooks/decode_context_linear_shift_w_repeats_trialwise_analysis.ipynb +++ b/notebooks/decode_context_linear_shift_w_repeats_trialwise_analysis.ipynb @@ -28,7 +28,7 @@ "outputs": [], "source": [ "# set path to decoding results\n", - "loadpath = dra.DECODING_ROOTH_PATH / \"new_annotations\" / \"linear_shift_20_units\"\n", + "loadpath = dra.DECODING_ROOT_PATH / \"new_annotations\" / \"linear_shift_20_units\"\n", "files=glob.glob(os.path.join(loadpath,'*_decoding_results*.pkl'))" ] }, @@ -43,7 +43,7 @@ "save_tables=False\n", "return_table=False\n", "loadpath = (\n", - " dra.DECODING_ROOTH_PATH\n", + " dra.DECODING_ROOT_PATH\n", " / \"new_annotations\"\n", " / \"linear_shift_20_units\"\n", " / \"combined\" \n", diff --git a/notebooks/decoding_example_egm.ipynb b/notebooks/decoding_example_egm.ipynb index 48bd989..add4f09 100644 --- a/notebooks/decoding_example_egm.ipynb +++ b/notebooks/decoding_example_egm.ipynb @@ -223,7 +223,7 @@ ], "source": [ "#2 set savepath and filename\n", - "savepath=dra.DECODING_ROOTH_PATH / \"new_annotations\" / \"linear_shift_20_units_re_run\"\n", + "savepath=dra.DECODING_ROOT_PATH / \"new_annotations\" / \"linear_shift_20_units_re_run\"\n", "filename='decoding_results_linear_shift_20_units_re_run.pkl'\n", "\n", "except_list={}\n", diff --git a/notebooks/decoding_timebins_egm.ipynb b/notebooks/decoding_timebins_egm.ipynb index d8b75d3..ab0497e 100644 --- a/notebooks/decoding_timebins_egm.ipynb +++ b/notebooks/decoding_timebins_egm.ipynb @@ -729,7 +729,7 @@ " if s.is_uploaded and s.is_annotated and \n", " s.project=='DynamicRouting')\n", "\n", - "savepath= dra.DECODING_ROOTH_PATH / \"decode_timebins\"\n", + "savepath= dra.DECODING_ROOT_PATH / \"decode_timebins\"\n", "filename='decode_timebins.pkl'\n", "\n", "except_list={}\n", diff --git a/notebooks/plot_decoder_accuracy_on_CCF.ipynb b/notebooks/plot_decoder_accuracy_on_CCF.ipynb index b86f893..72682ac 100644 --- a/notebooks/plot_decoder_accuracy_on_CCF.ipynb +++ b/notebooks/plot_decoder_accuracy_on_CCF.ipynb @@ -241,7 +241,7 @@ "# load deocder accuracy by CCF area\n", "\n", "ccf_coords_by_session_area = pd.read_csv(\n", - " dra.DECODING_ROOTH_PATH\n", + " dra.DECODING_ROOT_PATH\n", " / \"new_annotations\"\n", " / \"linear_shift_20_units/combined/all_unit_linear_shift_use_more_trials.csv\"\n", ")" diff --git a/src/dynamic_routing_analysis/path_utils.py b/src/dynamic_routing_analysis/path_utils.py index 58342c2..bcbb42b 100644 --- a/src/dynamic_routing_analysis/path_utils.py +++ b/src/dynamic_routing_analysis/path_utils.py @@ -1,5 +1,5 @@ import upath ANALYSIS_ROOT_PATH = upath.UPath("s3://aind-scratch-data/dynamic-routing/ethan") -DECODING_ROOTH_PATH: upath.UPath = ANALYSIS_ROOT_PATH / "decoding-results" -SINGLE_UNIT_METRICS_PATH: upath.UPath = ANALYSIS_ROOT_PATH / "single-unit-metrics" \ No newline at end of file +DECODING_ROOT_PATH: upath.UPath = ANALYSIS_ROOT_PATH / "decoding-results" +SINGLE_UNIT_METRICS_PATH: upath.UPath = ANALYSIS_ROOT_PATH / "single-unit-metrics"