Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed Jul 10, 2024
1 parent 2e5911c commit cec362c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'))"
]
},
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'))"
]
},
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/decoding_example_egm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/decoding_timebins_egm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/plot_decoder_accuracy_on_CCF.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
")"
Expand Down
4 changes: 2 additions & 2 deletions src/dynamic_routing_analysis/path_utils.py
Original file line number Diff line number Diff line change
@@ -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"
DECODING_ROOT_PATH: upath.UPath = ANALYSIS_ROOT_PATH / "decoding-results"
SINGLE_UNIT_METRICS_PATH: upath.UPath = ANALYSIS_ROOT_PATH / "single-unit-metrics"

0 comments on commit cec362c

Please sign in to comment.