def _get_session_for_table(self, base_session):
        """
        Only present session for modeling when doses were dropped if it's succesful;
        otherwise show the original modeling session.
        """
        if base_session.recommended_model is None and base_session.doses_dropped > 0:
            return base_session.doses_dropped_sessions[0]
        return base_session
def _get_session_for_table ( self , base_session ) : if base_session . recommended_model is None and base_session . doses_dropped > 0 : return base_session . doses_dropped_sessions [ 0 ] return base_session
Only present session for modeling when doses were dropped if it's succesful;
        otherwise show the original modeling session.