Commit b0294761 authored by Sebastien Robin's avatar Sebastien Robin

simulation: we should get initial root applied rule delivery through getCausalityValue()

parent 2f0368f5
......@@ -100,7 +100,7 @@ class PreviousCausalityMovementGroup(FirstCausalityMovementGroup):
previous_explanation = self._searchUpperInTree(movement)
if previous_explanation is None:
movement = movement.getRootAppliedRule()
previous_explanation = self._searchThroughDelivery(movement.getExplanationValue())
previous_explanation = self._searchThroughDelivery(movement.getCausalityValue())
property_dict = {}
if previous_explanation is not None:
property_dict["_previous_explanation"] = previous_explanation.getRelativeUrl()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment