Closed fongkenrui closed 1 year ago
Previously the if-else sequence for the outplot method always stops at the first branch.
if option == 'RZ Trajectory' or 'all'
The 2nd statement after the or is a pure string that always evaluates to True. The conditional needs to be duplicated.
or
if option == 'RZ Trajectory' or option == 'all'
Yeah, nice spot.
Previously the if-else sequence for the outplot method always stops at the first branch.
if option == 'RZ Trajectory' or 'all'
The 2nd statement after the
or
is a pure string that always evaluates to True. The conditional needs to be duplicated.if option == 'RZ Trajectory' or option == 'all'