Skip to content

process.py

run(display_progress=True, reserve_jobs=False, suppress_errors=False)

Execute all populate commands in Element Array Ephys

Parameters:

Name Type Description Default
display_progress bool

See DataJoint populate. Defaults to True.

True
reserve_jobs bool

See DataJoint populate. Defaults to False.

False
suppress_errors bool

See DataJoint populate. Defaults to False.

False
Source code in workflow_array_ephys/process.py
 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
30
31
32
33
34
35
36
def run(
    display_progress: bool = True,
    reserve_jobs: bool = False,
    suppress_errors: bool = False,
):
    """Execute all populate commands in Element Array Ephys

    Args:
        display_progress (bool, optional): See DataJoint `populate`. Defaults to True.
        reserve_jobs (bool, optional): See DataJoint `populate`. Defaults to False.
        suppress_errors (bool, optional): See DataJoint `populate`. Defaults to False.
    """

    populate_settings = {
        "display_progress": display_progress,
        "reserve_jobs": reserve_jobs,
        "suppress_errors": suppress_errors,
    }

    print("\n---- Populate ephys.EphysRecording ----")
    ephys.EphysRecording.populate(**populate_settings)

    print("\n---- Populate ephys.LFP ----")
    ephys.LFP.populate(**populate_settings)

    print("\n---- Populate ephys.Clustering ----")
    ephys.Clustering.populate(**populate_settings)

    print("\n---- Populate ephys.CuratedClustering ----")
    ephys.CuratedClustering.populate(**populate_settings)

    print("\n---- Populate ephys.WaveformSet ----")
    ephys.WaveformSet.populate(**populate_settings)