tasks.config¶
Configurations for luigi tasks.
Classes¶
Task to clone a git repository. |
|
Task to get synthesis input files from a folder on git repository. |
|
Diametrizer configuration. |
|
Runner global configuration. |
|
Synthesis global configuration. |
|
Circuit configuration. |
|
Get cell_composition with adapted entries. |
|
Morphology path configuration. |
|
Specific target for atlas targets. |
|
Specific target for circuit targets. |
|
Specific target for morphology dataframe targets. |
|
Specific target for synthesis targets. |
|
Specific target for validation targets. |
Functions¶
Set default output paths for targets. |
Module Contents¶
- class GitClone(*args, **kwargs)¶
Bases:
luigi_tools.task.WorkflowTaskTask to clone a git repository.
- branch¶
- class GetSynthesisInputs(*args, **kwargs)¶
Bases:
luigi_tools.task.WorkflowTaskTask to get synthesis input files from a folder on git repository.
If no url is provided, this task will copy an existing folder to the target location given in the ‘local_synthesis_input_path’ parameter of the ‘PathConfig’ task.
- url¶
(Optional) Url of repository. If None, git_synthesis_input_path should be an existing folder.
- Type:
- git_synthesis_input_path¶
Path to folder in git repo with synthesis files.
- Type:
- Default value:
synthesis_input
- branch¶
- class DiametrizerConfig(*args, **kwargs)¶
Bases:
luigi.ConfigDiametrizer configuration.
- model¶
- Choices:
{simpler, generic}
- Default value:
simpler
- terminal_threshold¶
- taper_min¶
- taper_max¶
- asymmetry_threshold_basal¶
- asymmetry_threshold_apical¶
- neurite_types¶
- trunk_max_tries¶
- n_samples¶
- config_model¶
- config_diametrizer¶
- class RunnerConfig(*args, **kwargs)¶
Bases:
luigi.ConfigRunner global configuration.
- class SynthesisConfig(*args, **kwargs)¶
Bases:
luigi.ConfigSynthesis global configuration.
- tmd_parameters_path¶
The path to the TMD parameters.
- Type:
- Default value:
neurots_input/tmd_parameters.json
- tmd_distributions_path¶
The path to the TMD distributions.
- Type:
- Default value:
neurots_input/tmd_distributions.json
- mtypes¶
The list of mtypes to process (default is None, which means that all found mtypes are taken).
- class CircuitConfig(*args, **kwargs)¶
Bases:
luigi.ConfigCircuit configuration.
- cell_composition_path¶
Path to cell_compoistion.yaml file.
- Type:
- Default value:
cell_composition.yaml
- region_structure_path¶
Path to the file containing the layer structure data.
- Type:
- Default value:
region_structure.yaml
- region¶
- class GetCellComposition(*args, **kwargs)¶
Bases:
luigi.TaskGet cell_composition with adapted entries.
- class PathConfig(*args, **kwargs)¶
Bases:
luigi.ConfigMorphology path configuration.
- local_synthesis_input_path¶
Path to the synthesis input directory.
- Type:
- Default value:
synthesis_input
- morphology_path¶
Column name in the morphology dataframe to access morphology paths
- Default value:
path
- substituted_morphs_df_path¶
Path to the substituted morphology DataFrame.
- Type:
- Default value:
substituted_morphs_df.csv
- synth_morphs_df_path¶
Path to the synthesized morphology DataFrame.
- Type:
- Default value:
synth_morphs_df.csv
- synth_output_path¶
Path to the synthesized morphologies.
- Type:
- Default value:
synthesized_morphologies
- class AtlasLocalTarget(*args, prefix=None, create_parent=True, **kwargs)¶
Bases:
luigi_tools.target.OutputLocalTargetSpecific target for atlas targets.
- class CircuitLocalTarget(*args, prefix=None, create_parent=True, **kwargs)¶
Bases:
luigi_tools.target.OutputLocalTargetSpecific target for circuit targets.
- class MorphsDfLocalTarget(*args, prefix=None, create_parent=True, **kwargs)¶
Bases:
luigi_tools.target.OutputLocalTargetSpecific target for morphology dataframe targets.
- class SynthesisLocalTarget(*args, prefix=None, create_parent=True, **kwargs)¶
Bases:
luigi_tools.target.OutputLocalTargetSpecific target for synthesis targets.
- class ValidationLocalTarget(*args, prefix=None, create_parent=True, **kwargs)¶
Bases:
luigi_tools.target.OutputLocalTargetSpecific target for validation targets.
- reset_default_prefixes()¶
Set default output paths for targets.