tasks.workflows
Luigi tasks for validation workflows.
Module Contents
-
class CreateCircuitConfig(*args, **kwargs)
Bases: luigi_tools.task.WorkflowTask
Create a CircuitConfig file to be read with other BBP tools (bluepy, etc.).
-
circuitconfig_path
-
collageconfig_path
-
class ValidateSynthesis(*args, **kwargs)
Bases: luigi_tools.task.WorkflowWrapperTask
Workflow to validate synthesis.
The complete workflow has the following dependency graph:
-
with_collage
Trigger collage.
- Type:
bool
- Default value:
True
-
with_morphometrics
Trigger morphometrics.
- Type:
bool
- Default value:
True
-
with_density_profiles
Trigger density profiles.
- Type:
bool
- Default value:
True
-
with_path_distance_fits
Trigger path distance fits.
- Type:
bool
- Default value:
True
-
with_scale_statistics
Trigger scale statistics.
- Type:
bool
- Default value:
True
-
with_morphology_validation_reports
Trigger morphology validation reports.
- Type:
bool
- Default value:
True
-
with_score_matrix_reports
Trigger score matrix reports.
- Type:
bool
- Default value:
True
-
with_trunk_validation
Trigger trunk validation.
- Type:
bool
- Default value:
False
-
class ValidateVacuumSynthesis(*args, **kwargs)
Bases: luigi_tools.task.WorkflowWrapperTask
Workflow to validate vacuum synthesis.
The complete workflow has the following dependency graph:
-
with_vacuum_morphologies
Trigger morphologies.
- Type:
bool
- Default value:
True
-
with_morphometrics
Trigger morphometrics.
- Type:
bool
- Default value:
True
-
with_density_profiles
Trigger density profiles.
- Type:
bool
- Default value:
True
-
with_score_matrix_reports
Trigger score matrix reports.
- Type:
bool
- Default value:
True
-
with_trunk_validation
Trigger trunk validation.
- Type:
bool
- Default value:
False
-
class ValidateRescaling(*args, **kwargs)
Bases: luigi_tools.task.WorkflowTask
Workflow to validate rescaling.
The complete workflow has the following dependency graph:
-
morphometrics_path
Output path.
- Type:
str
- Default value:
morphometrics
-
base_key
Column name in the DF.
- Type:
str
- Default value:
morphology_path
-
comp_key
Column name in the DF.
- Type:
str
- Default value:
morphology_path
-
base_label
Label for the base morphologies.
- Type:
str
- Default value:
bio
-
comp_label
Label for the compared morphologies.
- Type:
str
- Default value:
substituted
-
config_features
Mapping of features to plot.
- Type:
dict
-
normalize
Normalize data if set to True.
- Type:
bool
- Default value:
False