You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A variable methods_id_map is defined in the UI layer when there is iteration over the methods in the pipeline config, getting ready to build the Pipeline object:
and some dumb printing in the loop in UiLayer.build_pipeline() confirms this:
i = 1, method_id_map is now {'centering':
<httomo.method_wrappers.rotation.RotationWrapper object at 0x7f3d48321f60>}
i = 2, method_id_map is now {'centering':
<httomo.method_wrappers.rotation.RotationWrapper object at 0x7f3d48321f60>, 'task_2':
<httomo.method_wrappers.dezinging.DezingingWrapper object at 0x7f3d41d8c220>}
i = 3, method_id_map is now {'centering':
<httomo.method_wrappers.rotation.RotationWrapper object at 0x7f3d48321f60>, 'task_2':
<httomo.method_wrappers.dezinging.DezingingWrapper object at 0x7f3d41d8c220>, 'task_3':
<httomo.method_wrappers.generic.GenericMethodWrapper object at 0x7f3d41d8e110>}
i = 4, method_id_map is now {'centering':
<httomo.method_wrappers.rotation.RotationWrapper object at 0x7f3d48321f60>, 'task_2':
<httomo.method_wrappers.dezinging.DezingingWrapper object at 0x7f3d41d8c220>, 'task_3':
<httomo.method_wrappers.generic.GenericMethodWrapper object at 0x7f3d41d8e110>, 'task_4':
<httomo.method_wrappers.generic.GenericMethodWrapper object at 0x7f3d41d8c190>}
...
Question: given that methods_id_map seems to only be used for side outputs, is there a particular reason why methods without an id field (which produce no side outputs, and thus have no reason to be referenced) are still added to methods_id_map?
The text was updated successfully, but these errors were encountered:
A variable
methods_id_map
is defined in the UI layer when there is iteration over the methods in the pipeline config, getting ready to build thePipeline
object:httomo/httomo/ui_layer.py
Lines 64 to 72 in 7842bae
Based on how this variable is used by
update_side_output_references()
to map:id
field, from a method Y (ie, recon referencing a centering method withid: centering
)httomo/httomo/ui_layer.py
Lines 64 to 72 in 7842bae
it would appear that this
methods_id_map
is solely for dealing with side outputs.However, the
methods_id_map
includes both:id
fieldid
fieldhttomo/httomo/ui_layer.py
Line 110 in 7842bae
and some dumb printing in the loop in
UiLayer.build_pipeline()
confirms this:Question: given that
methods_id_map
seems to only be used for side outputs, is there a particular reason why methods without anid
field (which produce no side outputs, and thus have no reason to be referenced) are still added tomethods_id_map
?The text was updated successfully, but these errors were encountered: