#NEWLINE# def open_parameter_exploration( self , entity ) : #NEWLINE# #INDENT# 'open_parameter_exploration(entity:ParameterExplorationEntity) -> None\n        It will switch to the correct pipeline and pe, and open the pe\n        ' #NEWLINE# self . ensureNotDiffView ( ) #NEWLINE# from vistrails.gui.vistrails_window import _app #NEWLINE# view = _app . get_current_view ( ) #NEWLINE# if ( view . controller . current_version != entity . pe . action_id ) : #NEWLINE# #INDENT# view . version_selected ( entity . pe . action_id , True ) #NEWLINE# #UNINDENT# if ( entity . pe != view . controller . current_parameter_exploration ) : #NEWLINE# #INDENT# view . controller . current_parameter_exploration = entity . pe #NEWLINE# view . pe_view . setParameterExploration ( entity . pe ) #NEWLINE# #UNINDENT# _app . qactions [ 'explore' ] . trigger ( )