find_phase

Project.find_phase(obj)[source]

Finds the Phase associated with a given object.

Parameters

obj (Base) – Can either be a Physics or Algorithm object

Returns

phase

Return type

GenericPhase

Raises

If no Phase object can be found, then an Exception is raised.