@@ -63,17 +63,29 @@ def activate(ephys_schema_name, probe_schema_name=None, *, create_schema=True,
63
63
64
64
def get_ephys_root_data_dir () -> str :
65
65
"""
66
+ All data paths, directories in DataJoint Elements are recommended to be stored as
67
+ relative paths, with respect to some user-configured "root" directory,
68
+ this can change machine to machine (e.g. changing mounted drive locations)
69
+
66
70
get_ephys_root_data_dir() -> str
67
- Retrieve the root data directory - e.g. containing all subject/sessions ephys data
71
+ This user-provided function retrieves the root data directory
72
+ containing all subject/sessions ephys data
73
+ (e.g. acquired SpikeGLX or Open Ephys files)
68
74
:return: a string for full path to the ephys root data directory
69
75
"""
70
76
return _linking_module .get_ephys_root_data_dir ()
71
77
72
78
73
79
def get_clustering_root_data_dir () -> str :
74
80
"""
81
+ All data paths, directories in DataJoint Elements are recommended to be stored as
82
+ relative paths, with respect to some user-configured "root" directory,
83
+ this can change machine to machine (e.g. changing mounted drive locations)
84
+
75
85
get_clustering_root_data_dir() -> str
76
- Retrieve the root data directory containing all subject/sessions clustering data
86
+ This user-provided function retrieves the root data directory
87
+ containing all subject/sessions clustering data
88
+ (e.g. output files from spike sorting routines)
77
89
Note: if not provided, use "get_ephys_root_data_dir()"
78
90
:return: a string for full path to the clustering root data directory
79
91
"""
@@ -393,7 +405,7 @@ class ClusteringTask(dj.Manual):
393
405
-> EphysRecording
394
406
-> ClusteringParamSet
395
407
---
396
- clustering_output_dir: varchar(255) # clustering output directory relative to root data directory
408
+ clustering_output_dir: varchar(255) # clustering output directory relative to the clustering root data directory
397
409
task_mode='load': enum('load', 'trigger') # 'load': load computed analysis results, 'trigger': trigger computation
398
410
"""
399
411
@@ -437,7 +449,7 @@ class Curation(dj.Manual):
437
449
curation_id: int
438
450
---
439
451
curation_time: datetime # time of generation of this set of curated clustering results
440
- curation_output_dir: varchar(255) # output directory of the curated results, relative to root data directory
452
+ curation_output_dir: varchar(255) # output directory of the curated results, relative to clustering root data directory
441
453
quality_control: bool # has this clustering result undergone quality control?
442
454
manual_curation: bool # has manual curation been performed on this clustering result?
443
455
curation_note='': varchar(2000)
0 commit comments