-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatapaths.py
More file actions
30 lines (26 loc) · 2.4 KB
/
datapaths.py
File metadata and controls
30 lines (26 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from pathlib import Path
NCBS_locations = {
"figure_raw_material_location" : Path(r"\\storage.ncbs.res.in\adityaa\Lab\Projects\EI_Dynamics\Analysis\paper_figures\submission"),
"paper_figure_export_location" : Path(r"\\storage.ncbs.res.in\adityaa\Lab\Projects\EI_Dynamics\Analysis\paper_figures\submission"),
"data_path_FS" : Path(r"\\storage.ncbs.res.in\adityaa\Lab\Projects\EI_Dynamics\Analysis\parsed_data\Jan_2025\FreqSweep"),
"data_path_LTM" : Path(r"\\storage.ncbs.res.in\adityaa\Lab\Projects\EI_Dynamics\Analysis\parsed_data\Jan_2025\LTMRand"),
"data_path_grid" : Path(r"\\storage.ncbs.res.in\adityaa\Lab\Projects\EI_Dynamics\Analysis\parsed_data\Jan_2025\Grid"),
"data_path_analysed" : Path(r"\\storage.ncbs.res.in\adityaa\Lab\Projects\EI_Dynamics\Analysis\parsed_data\Jan_2025\second_order"),
"project_path_root" : Path(r"\\storage.ncbs.res.in\adityaa")
}
onedrive_locations = {
"figure_raw_material_location" : Path(r"C:\\Users\\Aditya\\OneDrive\\NCBS\\Lab\Projects\EI_Dynamics\Analysis\paper_figures\submission"),
"paper_figure_export_location" : Path(r"C:\\Users\\Aditya\\OneDrive\\NCBS\\Lab\Projects\EI_Dynamics\Analysis\paper_figures\submission"),
"data_path_FS" : Path(r"C:\\Users\\Aditya\\OneDrive\\NCBS\\Lab\Projects\EI_Dynamics\Analysis\parsed_data\FreqSweep"),
"data_path_LTM" : Path(r"C:\\Users\\Aditya\\OneDrive\\NCBS\\Lab\Projects\EI_Dynamics\Analysis\parsed_data\LTMRand"),
"data_path_grid" : Path(r"C:\\Users\\Aditya\\OneDrive\\NCBS\\Lab\Projects\EI_Dynamics\Analysis\parsed_data\Grid"),
"data_path_analysed" : Path(r"C:\\Users\\Aditya\\OneDrive\\NCBS\\Lab\Projects\EI_Dynamics\Analysis\parsed_data\second_order"),
"project_path_root" : Path(r"C:\\Users\\Aditya\\OneDrive\\NCBS")
}
# check if NCBS storage is available
if NCBS_locations["project_path_root"].exists():
print("working on NCBS storage drive")
location = NCBS_locations
else:
print("working on local onedrive")
location = onedrive_locations