Skip to content

Commit bebec1a

Browse files
author
Thinh Nguyen
committed
improve docstring/description
1 parent fcb5983 commit bebec1a

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

element_array_ephys/ephys.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,29 @@ def activate(ephys_schema_name, probe_schema_name=None, *, create_schema=True,
6363

6464
def get_ephys_root_data_dir() -> str:
6565
"""
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+
6670
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)
6874
:return: a string for full path to the ephys root data directory
6975
"""
7076
return _linking_module.get_ephys_root_data_dir()
7177

7278

7379
def get_clustering_root_data_dir() -> str:
7480
"""
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+
7585
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)
7789
Note: if not provided, use "get_ephys_root_data_dir()"
7890
:return: a string for full path to the clustering root data directory
7991
"""
@@ -393,7 +405,7 @@ class ClusteringTask(dj.Manual):
393405
-> EphysRecording
394406
-> ClusteringParamSet
395407
---
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
397409
task_mode='load': enum('load', 'trigger') # 'load': load computed analysis results, 'trigger': trigger computation
398410
"""
399411

@@ -437,7 +449,7 @@ class Curation(dj.Manual):
437449
curation_id: int
438450
---
439451
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
441453
quality_control: bool # has this clustering result undergone quality control?
442454
manual_curation: bool # has manual curation been performed on this clustering result?
443455
curation_note='': varchar(2000)

0 commit comments

Comments
 (0)