-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
320 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[loggers] | ||
keys=root,luigi,luigi_interface | ||
|
||
[handlers] | ||
keys=consoleHandler,fileHandler | ||
|
||
[formatters] | ||
keys=PrettyFormatter | ||
|
||
[logger_root] | ||
level=DEBUG | ||
handlers=consoleHandler,fileHandler | ||
|
||
[logger_luigi] | ||
level=INFO | ||
handlers=consoleHandler,fileHandler | ||
qualname=luigi | ||
propagate=0 | ||
|
||
[logger_luigi_interface] | ||
level=DEBUG | ||
handlers=consoleHandler,fileHandler | ||
qualname=luigi-interface | ||
propagate=0 | ||
|
||
[handler_consoleHandler] | ||
class=StreamHandler | ||
formatter=PrettyFormatter | ||
args=(sys.stdout,) | ||
|
||
[handler_fileHandler] | ||
class=FileHandler | ||
formatter=PrettyFormatter | ||
args=('synthesis_workflow.log',) | ||
|
||
[formatter_PrettyFormatter] | ||
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s | ||
datefmt=%Y-%m-%d %H:%M:%S |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# TODO: Update this file according to new target classes | ||
|
||
# luigi parameters | ||
# [core] | ||
# logging_conf_file = logging.conf | ||
|
||
# global parameters | ||
[SynthesisConfig] | ||
tmd_parameters_path = out_vacuum/tmd_parameters.json | ||
tmd_distributions_path = out_vacuum/tmd_distributions.json | ||
mtypes = ["L5_TPC:A"] | ||
|
||
[PathConfig] | ||
morphs_df_path = morphs_df.csv | ||
synth_morphs_df_path = out_vacuum/synth_morphs_df.csv | ||
synth_output_path = out_vacuum/synthesized_morphologies | ||
substituted_morphs_df_path = out_vacuum/substituted_morphs_df.csv | ||
morphology_path = repaired_morphology_path | ||
|
||
# prepare step | ||
[GetSynthesisInputs] | ||
url = git@bbpgitlab.epfl.ch:circuits/thncx.git | ||
git_synthesis_input_path = entities/synthesis_workflow/rat/vacuum/synthesis_input | ||
local_synthesis_input_path = synthesis_input | ||
|
||
[BuildMorphsDF] | ||
neurondb_path = /gpfs/bbp.cscs.ch/project/proj83/home/gevaert/morph-release/morph_release_old_code-2020-07-27/output/06_RepairUnravel-asc/neuronDB.xml | ||
morphology_dirs = {"repaired_morphology_path": "/gpfs/bbp.cscs.ch/project/proj83/home/gevaert/morph-release/morph_release_old_code-2020-07-27/output/06_RepairUnravel-asc", "repaired_morphology_path_h5": "/gpfs/bbp.cscs.ch/project/proj83/home/gevaert/morph-release/morph_release_old_code-2020-07-27/output/06_RepairUnravel-h5"} | ||
|
||
|
||
# synthesis setup | ||
[ApplySubstitutionRules] | ||
substitution_rules_path = substitution_rules.yaml | ||
|
||
[BuildSynthesisParameters] | ||
tmd_parameters_path = out_vacuum/tmd_parameters_no_scaling.json | ||
#input_tmd_parameters_path = tmd_specific_parameters.json | ||
morphology_path = repaired_morphology_path_h5 | ||
|
||
[BuildSynthesisDistributions] | ||
morphology_path = repaired_morphology_path_h5 | ||
|
||
# synthesize in vacuum | ||
[VacuumSynthesize] | ||
vacuum_synth_morphology_path = vacuum_synth_morphologies | ||
vacuum_synth_morphs_df_path = out_vacuum/vacuum_synth_morphs_df.csv | ||
n_cells = 100 | ||
|
||
# validation plots | ||
[ValidateVacuumSynthesis] | ||
with_morphometrics = False | ||
with_density_profiles = False | ||
with_vacuum_morphologies= False | ||
with_score_matrix_reports=False | ||
with_trunk_validation=True | ||
with_morphology_validation_reports=False | ||
with_scale_statistics=False | ||
|
||
[PlotVacuumMorphologies] | ||
pdf_filename = figures_vacuum/vacuum_morphologies.pdf | ||
|
||
[PlotMorphometrics] | ||
morphometrics_path = figures_vacuum/morphometrics | ||
|
||
[PlotDensityProfiles] | ||
density_profiles_path = figures_vacuum/density_profiles.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/bash -l | ||
|
||
export OMP_NUM_THREADS=1 | ||
|
||
python -m luigi --module synthesis_workflow.tasks.workflows ValidateVacuumSynthesis \ | ||
--local-scheduler \ | ||
--log-level INFO \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.