tasks.workflows

Luigi tasks for validation workflows.

Classes

CreateCircuitConfig

Create a CircuitConfig file to be read with other BBP tools (bluepy, etc.).

ValidateSynthesis

Workflow to validate synthesis.

ValidateVacuumSynthesis

Workflow to validate vacuum synthesis.

ValidateRescaling

Workflow to validate rescaling.

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:

strict digraph {
	graph [bb="0,0,831,612",
		bgcolor=transparent,
		dpi=300,
		fontsize=9,
		layout=dot,
		rankdir=TB,
		size="7.0, 15.0"
	];
	node [fillcolor=white,
		fontname="\"Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans\"",
		fontsize=9,
		height=0.25,
		label="\N",
		shape=box,
		style="setlinewidth(0.5),filled"
	];
	edge [arrowsize=0.5,
		style="setlinewidth(0.5)"
	];
	ValidateSynthesis	[color=red,
		penwidth=1.5,
		pos="252,603",
		width=1.3194];
	GetSynthesisInputs	[URL="../../tasks/config/index.html#tasks.config.GetSynthesisInputs",
		pos="496,9",
		width=1.4583];
	ValidateSynthesis -> GetSynthesisInputs	[pos="e,443.39,10.219 204.35,597.87 146.62,592 53.767,579.5 27,558 3.5658,539.18 0,526.06 0,496 0,496 0,496 0,116 0,27.303 307.16,12.561 \
438.05,10.306"];
	PlotCollage	[URL="../../tasks/validation/index.html#tasks.validation.PlotCollage",
		pos="457,549",
		width=0.90278];
	ValidateSynthesis -> PlotCollage	[pos="e,425.38,558.02 283.58,593.99 320.45,584.64 381.33,569.19 420.27,559.32"];
	PlotPathDistanceFits	[URL="../../tasks/validation/index.html#tasks.validation.PlotPathDistanceFits",
		pos="158,441",
		width=1.4861];
	ValidateSynthesis -> PlotPathDistanceFits	[pos="e,156.34,450.17 221.69,593.93 203.31,587.38 181.14,576.17 169,558 147.78,526.23 151.88,478.2 155.49,455.2"];
	PlotScales	[URL="../../tasks/validation/index.html#tasks.validation.PlotScales",
		pos="375,549",
		width=0.86111];
	ValidateSynthesis -> PlotScales	[pos="e,355.83,558.11 270.95,593.99 292.47,584.89 327.61,570.03 351.02,560.14"];
	MorphologyValidationReports	[URL="../../tasks/validation/index.html#tasks.validation.MorphologyValidationReports",
		pos="252,549",
		width=2.0417];
	ValidateSynthesis -> MorphologyValidationReports	[pos="e,252,558.24 252,593.88 252,585.76 252,573.13 252,563.5"];
	PlotScoreMatrix	[URL="../../tasks/validation/index.html#tasks.validation.PlotScoreMatrix",
		pos="79,549",
		width=1.1944];
	ValidateSynthesis -> PlotScoreMatrix	[pos="e,105.68,558.02 225.35,593.99 194.49,584.71 143.7,569.45 110.8,559.56"];
	CreateCircuitConfig	[URL="../../tasks/workflows/index.html#tasks.workflows.CreateCircuitConfig",
		pos="610,495",
		width=1.4444];
	ValidateSynthesis -> CreateCircuitConfig	[pos="e,598.63,504.06 299.63,598.25 350.28,593.18 432.13,581.87 499,558 535.29,545.05 573.71,520.93 594.47,506.89"];
	ConvertCircuit	[URL="../../tasks/validation/index.html#tasks.validation.ConvertCircuit",
		pos="375,495",
		width=1.125];
	PlotCollage -> ConvertCircuit	[pos="e,387.72,504.07 444.19,539.88 430.23,531.02 407.81,516.81 392.3,506.97"];
	Synthesize	[URL="../../tasks/synthesis/index.html#tasks.synthesis.Synthesize",
		pos="433,441",
		width=0.90278];
	ConvertCircuit -> Synthesize	[pos="e,423.81,450.24 384.06,485.88 393.71,477.23 409.06,463.46 420,453.66"];
	Synthesize -> GetSynthesisInputs	[pos="e,548.76,17.738 465.58,437.42 554.2,429.52 793,401.92 793,334 793,334 793,334 793,116 793,65.743 640.25,33.053 553.84,18.581"];
	ApplySubstitutionRules	[URL="../../tasks/synthesis/index.html#tasks.synthesis.ApplySubstitutionRules",
		pos="267,117",
		width=1.6944];
	Synthesize -> ApplySubstitutionRules	[pos="e,268.22,126.28 430.9,431.89 425.37,411.79 408.83,358.77 380,324 362.29,302.64 345.86,310.04 329,288 290.73,237.96 274.37,162.01 \
269.08,131.44"];
	BuildSynthesisParameters	[URL="../../tasks/synthesis/index.html#tasks.synthesis.BuildSynthesisParameters",
		pos="250,387",
		width=1.8611];
	Synthesize -> BuildSynthesisParameters	[pos="e,278.22,396.02 404.81,431.99 372.03,422.68 317.99,407.32 283.21,397.44"];
	BuildSynthesisDistributions	[URL="../../tasks/synthesis/index.html#tasks.synthesis.BuildSynthesisDistributions",
		pos="212,279",
		width=1.9444];
	Synthesize -> BuildSynthesisDistributions	[pos="e,212.3,288.37 420.52,431.87 400.91,419.3 361.49,394.87 326,378 285.22,358.62 261.88,374.95 231,342 218.5,328.66 214.21,307.28 212.75,\
293.44"];
	SliceCircuit	[URL="../../tasks/circuit/index.html#tasks.circuit.SliceCircuit",
		pos="554,387",
		width=0.93056];
	Synthesize -> SliceCircuit	[pos="e,535.14,396.11 451.64,431.99 472.81,422.89 507.38,408.03 530.41,398.14"];
	GetCellComposition	[URL="../../tasks/config/index.html#tasks.config.GetCellComposition",
		pos="554,279",
		width=1.4444];
	Synthesize -> GetCellComposition	[pos="e,545.28,288.01 437.82,431.77 449.38,412.27 480.06,362.03 511,324 520.38,312.47 532.28,300.46 541.18,291.91"];
	ApplySubstitutionRules -> GetSynthesisInputs	[pos="e,478.66,18.024 284.59,107.86 325.82,88.774 428.62,41.188 473.95,20.209"];
	BuildMorphsDF	[URL="../../tasks/synthesis/index.html#tasks.synthesis.BuildMorphsDF",
		pos="271,63",
		width=1.1667];
	ApplySubstitutionRules -> BuildMorphsDF	[pos="e,270.37,72.24 267.62,107.88 268.26,99.681 269.24,86.895 269.98,77.235"];
	BuildMorphsDF -> GetSynthesisInputs	[pos="e,461.3,18.02 305.66,53.989 346.29,44.599 413.49,29.069 456.21,19.195"];
	AddTrunkFitToParameters	[URL="../../tasks/synthesis/index.html#tasks.synthesis.AddTrunkFitToParameters",
		pos="306,333",
		width=1.8194];
	BuildSynthesisParameters -> AddTrunkFitToParameters	[pos="e,297.13,342.24 258.75,377.88 268.07,369.23 282.89,355.46 293.45,345.66"];
	OverwriteCustomParameters	[URL="../../tasks/synthesis/index.html#tasks.synthesis.OverwriteCustomParameters",
		pos="411,279",
		width=2.0278];
	AddTrunkFitToParameters -> OverwriteCustomParameters	[pos="e,394.71,288.07 322.41,323.88 340.67,314.83 370.22,300.19 390.12,290.34"];
	AddTrunkFitToParameters -> BuildSynthesisDistributions	[pos="e,226.58,288.07 291.31,323.88 275.17,314.95 249.17,300.56 231.37,290.72"];
	OverwriteCustomParameters -> GetSynthesisInputs	[pos="e,498.48,18.157 431.75,269.93 448.24,262.64 470.95,250.52 486,234 506.49,211.51 515,202.42 515,172 515,172 515,172 515,116 515,82.018 \
505.42,42.857 499.87,23"];
	AddScalingRulesToParameters	[URL="../../tasks/synthesis/index.html#tasks.synthesis.AddScalingRulesToParameters",
		pos="401,225",
		width=2.1111];
	OverwriteCustomParameters -> AddScalingRulesToParameters	[pos="e,402.58,234.24 409.44,269.88 407.86,261.68 405.4,248.89 403.55,239.24"];
	AddScalingRulesToParameters -> GetSynthesisInputs	[pos="e,496.07,18.178 416.79,215.9 429.86,208.37 447.87,195.93 458,180 490.55,128.84 495.42,53.524 496.01,23.284"];
	AddScalingRulesToParameters -> ApplySubstitutionRules	[pos="e,273.32,126.39 383.53,215.96 367.26,208.04 342.78,194.98 324,180 305.31,165.09 287.24,143.93 276.62,130.59"];
	GetDefaultParameters	[URL="../../tasks/synthesis/index.html#tasks.synthesis.GetDefaultParameters",
		pos="391,171",
		width=1.6111];
	AddScalingRulesToParameters -> GetDefaultParameters	[pos="e,392.58,180.24 399.44,215.88 397.86,207.68 395.4,194.89 393.55,185.24"];
	GetDefaultParameters -> GetSynthesisInputs	[pos="e,489.45,18.275 395.65,161.97 406.77,142.9 435.98,93.53 463,54 470.5,43.025 479.6,30.974 486.35,22.263"];
	GetDefaultParameters -> ApplySubstitutionRules	[pos="e,286.33,126.11 371.9,161.99 350.21,152.89 314.77,138.03 291.18,128.14"];
	BuildSynthesisDistributions -> GetSynthesisInputs	[pos="e,443.25,9.5686 203.4,269.84 186.81,253.15 152,213.24 152,172 152,172 152,172 152,116 152,75.101 183.15,71.741 220,54 289.92,20.34 \
380.19,11.564 438.1,9.7173"];
	BuildSynthesisDistributions -> ApplySubstitutionRules	[pos="e,264.14,126.33 214.8,269.85 223.7,243.96 251.37,163.47 262.4,131.39"];
	CreateAtlasPlanes	[URL="../../tasks/circuit/index.html#tasks.circuit.CreateAtlasPlanes",
		pos="654,333",
		width=1.3333];
	SliceCircuit -> CreateAtlasPlanes	[pos="e,638.48,342.07 569.62,377.88 586.94,368.87 614.93,354.32 633.87,344.47"];
	BuildCircuit	[URL="../../tasks/circuit/index.html#tasks.circuit.BuildCircuit",
		pos="554,333",
		width=0.94444];
	SliceCircuit -> BuildCircuit	[pos="e,554,342.24 554,377.88 554,369.76 554,357.13 554,347.5"];
	CreateAtlasLayerAnnotations	[URL="../../tasks/circuit/index.html#tasks.circuit.CreateAtlasLayerAnnotations",
		pos="692,225",
		width=2.0278];
	CreateAtlasPlanes -> CreateAtlasLayerAnnotations	[pos="e,689.03,234.28 656.98,323.68 663.56,305.34 679.35,261.28 687.28,239.15"];
	CreateAtlasLayerAnnotations -> GetSynthesisInputs	[pos="e,533.44,18.027 689.97,215.64 682.98,188.5 657.36,101.88 605,54 586.38,36.972 560.32,26.128 538.35,19.467"];
	BuildCircuit -> GetSynthesisInputs	[pos="e,511.69,18.141 573.6,323.86 587.95,316.73 606.38,304.86 615,288 618.64,280.88 615.96,277.94 615,270 609.63,225.48 591,216.84 591,\
172 591,172 591,172 591,116 591,71.615 544.24,37.333 516.33,20.826"];
	BuildCircuit -> GetCellComposition	[pos="e,554,288.24 554,323.88 554,315.76 554,303.13 554,293.5"];
	GetCellComposition -> GetSynthesisInputs	[pos="e,504.17,18.247 553.87,269.75 553.6,251.92 553,208.44 553,172 553,172 553,172 553,116 553,78.12 524.42,40.732 507.73,22.136"];
	PlotPathDistanceFits -> ApplySubstitutionRules	[pos="e,249.15,126.14 152.07,431.96 140.06,414.86 114,373.25 114,334 114,334 114,334 114,278 114,203.43 201.89,149.99 244.44,128.48"];
	PlotPathDistanceFits -> BuildSynthesisParameters	[pos="e,235.73,396.07 172.38,431.88 188.17,422.95 213.62,408.56 231.04,398.72"];
	PlotPathDistanceFits -> BuildSynthesisDistributions	[pos="e,208.52,288.02 159.77,431.89 162.45,419.96 167.87,397.05 174,378 184.01,346.88 198.62,311.32 206.49,292.78"];
	PlotScales -> ConvertCircuit	[pos="e,375,504.24 375,539.88 375,531.76 375,519.13 375,509.5"];
	MorphologyValidationReports -> ConvertCircuit	[pos="e,355.83,504.11 270.95,539.99 292.47,530.89 327.61,516.03 351.02,506.14"];
	MorphologyValidationReports -> ApplySubstitutionRules	[pos="e,206.04,126.05 202.51,539.97 150.45,528.37 76,501.39 76,442 76,442 76,442 76,224 76,165.28 145.86,138.82 201.08,127.07"];
	PlotScoreMatrix -> ConvertCircuit	[pos="e,334.29,503.15 122.04,540.44 177.29,530.73 272.76,513.96 329.28,504.03"];
	PlotScoreMatrix -> ApplySubstitutionRules	[pos="e,205.93,120.72 73.471,539.9 62.279,522.69 38,480.87 38,442 38,442 38,442 38,224 38,151.73 133.08,128.59 200.71,121.26"];
	CreateCircuitConfig -> GetSynthesisInputs	[pos="e,548.95,12.501 662.09,491.27 727.43,484.72 831,462.57 831,388 831,388 831,388 831,116 831,68.881 788.4,72.339 745,54 683.03,27.818 \
606.03,17.215 554.2,12.921"];
	CreateCircuitConfig -> Synthesize	[pos="e,460.3,450.02 582.73,485.99 551.03,476.68 498.77,461.32 465.12,451.44"];
	CreateCircuitConfig -> CreateAtlasPlanes	[pos="e,651.71,342.33 612.24,485.85 619.36,459.96 641.5,379.47 650.32,347.39"];
}
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:

strict digraph {
	graph [bb="0,0,498.52,558",
		bgcolor=transparent,
		dpi=300,
		fontsize=9,
		layout=dot,
		rankdir=TB,
		size="7.0, 15.0"
	];
	node [fillcolor=white,
		fontname="\"Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans\"",
		fontsize=9,
		height=0.25,
		label="\N",
		shape=box,
		style="setlinewidth(0.5),filled"
	];
	edge [arrowsize=0.5,
		style="setlinewidth(0.5)"
	];
	ValidateVacuumSynthesis	[color=red,
		penwidth=1.5,
		pos="210.52,549",
		width=1.8333];
	GetSynthesisInputs	[URL="../../tasks/config/index.html#tasks.config.GetSynthesisInputs",
		pos="162.52,9",
		width=1.4583];
	ValidateVacuumSynthesis -> GetSynthesisInputs	[pos="e,121.64,18.076 145.1,539.99 97.267,532.86 37.699,520.93 19.522,504 -1.5668,484.36 0.52227,470.82 0.52227,442 0.52227,442 0.52227,\
442 0.52227,116 0.52227,60.109 68.876,32.103 116.78,19.337"];
	PlotMorphometrics	[URL="../../tasks/validation/index.html#tasks.validation.PlotMorphometrics",
		pos="343.52,495",
		width=1.4028];
	ValidateVacuumSynthesis -> PlotMorphometrics	[pos="e,322.79,504.11 231.01,539.99 254.37,530.85 292.6,515.91 317.91,506.01"];
	PlotVacuumMorphologies	[URL="../../tasks/vacuum_synthesis/index.html#tasks.vacuum_synthesis.PlotVacuumMorphologies",
		pos="210.52,495",
		width=1.7917];
	ValidateVacuumSynthesis -> PlotVacuumMorphologies	[pos="e,210.52,504.24 210.52,539.88 210.52,531.76 210.52,519.13 210.52,509.5"];
	PlotDensityProfiles	[URL="../../tasks/validation/index.html#tasks.validation.PlotDensityProfiles",
		pos="78.522,495",
		width=1.375];
	ValidateVacuumSynthesis -> PlotDensityProfiles	[pos="e,99.099,504.11 190.19,539.99 167,530.85 129.06,515.91 103.94,506.01"];
	PlotScoreMatrix	[URL="../../tasks/validation/index.html#tasks.validation.PlotScoreMatrix",
		pos="455.52,495",
		width=1.1944];
	ValidateVacuumSynthesis -> PlotScoreMatrix	[pos="e,417.74,504.02 248.27,539.99 292.69,530.56 366.27,514.94 412.76,505.08"];
	VacuumSynthesize	[URL="../../tasks/vacuum_synthesis/index.html#tasks.vacuum_synthesis.VacuumSynthesize",
		pos="258.52,441",
		width=1.4167];
	PlotMorphometrics -> VacuumSynthesize	[pos="e,271.71,450.07 330.24,485.88 315.64,476.95 292.14,462.56 276.04,452.72"];
	ApplySubstitutionRules	[URL="../../tasks/synthesis/index.html#tasks.synthesis.ApplySubstitutionRules",
		pos="360.52,117",
		width=1.6944];
	PlotMorphometrics -> ApplySubstitutionRules	[pos="e,366.46,126.04 352.26,485.87 369.13,469.23 404.52,429.4 404.52,388 404.52,388 404.52,388 404.52,224 404.52,187.81 382.38,149.62 \
369.51,130.48"];
	BuildSynthesisParameters	[URL="../../tasks/synthesis/index.html#tasks.synthesis.BuildSynthesisParameters",
		pos="211.52,387",
		width=1.8611];
	VacuumSynthesize -> BuildSynthesisParameters	[pos="e,218.97,396.24 251.18,431.88 243.5,423.38 231.35,409.94 222.53,400.18"];
	BuildSynthesisDistributions	[URL="../../tasks/synthesis/index.html#tasks.synthesis.BuildSynthesisDistributions",
		pos="306.52,225",
		width=1.9444];
	VacuumSynthesize -> BuildSynthesisDistributions	[pos="e,306.93,234.09 265.6,431.89 272.46,423.51 282.54,409.77 287.52,396 307.6,340.49 307.95,268.71 307.11,239.38"];
	AddTrunkFitToParameters	[URL="../../tasks/synthesis/index.html#tasks.synthesis.AddTrunkFitToParameters",
		pos="211.52,333",
		width=1.8194];
	BuildSynthesisParameters -> AddTrunkFitToParameters	[pos="e,211.52,342.24 211.52,377.88 211.52,369.76 211.52,357.13 211.52,347.5"];
	OverwriteCustomParameters	[URL="../../tasks/synthesis/index.html#tasks.synthesis.OverwriteCustomParameters",
		pos="142.52,279",
		width=2.0278];
	AddTrunkFitToParameters -> OverwriteCustomParameters	[pos="e,153.46,288.24 200.74,323.88 189.16,315.15 170.68,301.22 157.65,291.4"];
	AddTrunkFitToParameters -> BuildSynthesisDistributions	[pos="e,299.1,234.28 218.98,323.68 235.7,305.03 276.24,259.79 295.72,238.05"];
	OverwriteCustomParameters -> GetSynthesisInputs	[pos="e,138.61,18.072 114.76,269.94 96.106,263.18 72.318,251.74 57.522,234 39.061,211.87 38.522,200.82 38.522,172 38.522,172 38.522,172 \
38.522,116 38.522,66.128 97.194,34.711 133.82,19.958"];
	AddScalingRulesToParameters	[URL="../../tasks/synthesis/index.html#tasks.synthesis.AddScalingRulesToParameters",
		pos="142.52,225",
		width=2.1111];
	OverwriteCustomParameters -> AddScalingRulesToParameters	[pos="e,142.52,234.24 142.52,269.88 142.52,261.76 142.52,249.13 142.52,239.5"];
	AddScalingRulesToParameters -> GetSynthesisInputs	[pos="e,157.45,18.154 128.9,215.83 117.58,208.18 102.28,195.59 95.522,180 92.339,172.66 93.874,169.83 95.522,162 107.1,107.01 139.88,47.661 \
154.87,22.455"];
	AddScalingRulesToParameters -> ApplySubstitutionRules	[pos="e,344.02,126.02 159.27,215.86 198.44,196.81 295.99,149.38 339.26,128.34"];
	GetDefaultParameters	[URL="../../tasks/synthesis/index.html#tasks.synthesis.GetDefaultParameters",
		pos="162.52,171",
		width=1.6111];
	AddScalingRulesToParameters -> GetDefaultParameters	[pos="e,159.35,180.24 145.65,215.88 148.83,207.6 153.81,194.66 157.53,184.97"];
	ApplySubstitutionRules -> GetSynthesisInputs	[pos="e,194.15,18.025 352.47,107.69 339.47,94.674 312.54,69.369 285.52,54 258.17,38.442 224.34,26.823 199.08,19.444"];
	BuildMorphsDF	[URL="../../tasks/synthesis/index.html#tasks.synthesis.BuildMorphsDF",
		pos="379.52,63",
		width=1.1667];
	ApplySubstitutionRules -> BuildMorphsDF	[pos="e,376.51,72.24 363.49,107.88 366.51,99.605 371.24,86.658 374.78,76.968"];
	BuildMorphsDF -> GetSynthesisInputs	[pos="e,195.99,18.02 346.09,53.989 306.91,44.599 242.1,29.069 200.9,19.195"];
	GetDefaultParameters -> GetSynthesisInputs	[pos="e,162.52,18.33 162.52,161.85 162.52,135.96 162.52,55.468 162.52,23.391"];
	GetDefaultParameters -> ApplySubstitutionRules	[pos="e,329.98,126.02 193.03,161.99 228.63,152.64 287.43,137.19 325.05,127.32"];
	BuildSynthesisDistributions -> GetSynthesisInputs	[pos="e,168,18.136 301.05,215.87 279.13,183.3 197.55,62.053 170.96,22.538"];
	BuildSynthesisDistributions -> ApplySubstitutionRules	[pos="e,356.3,126.28 310.76,215.68 320.14,197.26 342.74,152.91 353.96,130.88"];
	PlotVacuumMorphologies -> VacuumSynthesize	[pos="e,250.92,450.24 218.02,485.88 225.94,477.3 238.49,463.7 247.52,453.91"];
	PlotDensityProfiles -> VacuumSynthesize	[pos="e,230.76,450.02 106.25,485.99 138.49,476.68 191.64,461.32 225.85,451.44"];
	PlotScoreMatrix -> VacuumSynthesize	[pos="e,288.91,450.02 425.17,485.99 389.74,476.64 331.24,461.19 293.82,451.32"];
	PlotScoreMatrix -> ApplySubstitutionRules	[pos="e,374.66,126.2 454.61,485.77 452.71,467.96 448.52,424.52 448.52,388 448.52,388 448.52,388 448.52,224 448.52,180.81 404.75,145.82 \
378.95,128.94"];
}
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:

strict digraph {
	graph [bb="0,0,138,180",
		bgcolor=transparent,
		dpi=300,
		fontsize=9,
		layout=dot,
		rankdir=TB,
		size="7.0, 15.0"
	];
	node [fillcolor=white,
		fontname="\"Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans\"",
		fontsize=9,
		height=0.25,
		label="\N",
		shape=box,
		style="setlinewidth(0.5),filled"
	];
	edge [arrowsize=0.5,
		style="setlinewidth(0.5)"
	];
	ValidateRescaling	[color=red,
		penwidth=1.5,
		pos="61,171",
		width=1.3194];
	ApplySubstitutionRules	[URL="../../tasks/synthesis/index.html#tasks.synthesis.ApplySubstitutionRules",
		pos="61,117",
		width=1.6944];
	ValidateRescaling -> ApplySubstitutionRules	[pos="e,61,126.24 61,161.88 61,153.76 61,141.13 61,131.5"];
	GetSynthesisInputs	[URL="../../tasks/config/index.html#tasks.config.GetSynthesisInputs",
		pos="61,9",
		width=1.4583];
	ApplySubstitutionRules -> GetSynthesisInputs	[pos="e,56.493,18.333 57.037,107.8 53.085,99.143 47.285,84.968 45,72 41.969,54.796 48.688,35.352 54.329,22.9"];
	BuildMorphsDF	[URL="../../tasks/synthesis/index.html#tasks.synthesis.BuildMorphsDF",
		pos="96,63",
		width=1.1667];
	ApplySubstitutionRules -> BuildMorphsDF	[pos="e,90.454,72.24 66.469,107.88 72.137,99.453 81.071,86.181 87.628,76.438"];
	BuildMorphsDF -> GetSynthesisInputs	[pos="e,66.546,18.24 90.531,53.875 84.863,45.453 75.929,32.181 69.372,22.438"];
}
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