class_docstr: A global system that helps to manage the experiments.
class_docstr_tok: ["A","global","system","that","helps","to","manage","the","experiments","."]
docstr: Method for ending an experiment manually. It will end the current active experiment, as well as its
  active recorder with the specified `status` type. Here is the example code of the method:
  
  .. code-block:: Python
  
      R.start_exp(experiment_name='test')
      ... # further operations
      R.end_exp('FINISHED') or R.end_exp(Recorder.STATUS_S)
  
  Parameters
  ----------
  status : str
      The status of a recorder, which can be SCHEDULED, RUNNING, FINISHED, FAILED.
docstr_tok: ["Method","for","ending","an","experiment","manually",".","It","will","end","the","current","active","experiment",",","as","well","as","its","active","recorder","with","the","specified","`","status","`","type",".","Here","is","the","example","code","of","the","method",":","..","code-block",":",":","Python","R.start_exp","(","experiment_name='test","'",")","...","#","further","operations","R.end_exp","(","'FINISHED","'",")","or","R.end_exp","(","Recorder.STATUS_S",")","Parameters","--","--","--","--","--","status",":","str","The","status","of","a","recorder",",","which","can","be","SCHEDULED",",","RUNNING",",","FINISHED",",","FAILED","."]
code: def end_exp(self, recorder_status=Recorder.STATUS_FI):
      """
      Method for ending an experiment manually. It will end the current active experiment, as well as its
      active recorder with the specified `status` type. Here is the example code of the method:
  
      .. code-block:: Python
  
          R.start_exp(experiment_name='test')
          ... # further operations
          R.end_exp('FINISHED') or R.end_exp(Recorder.STATUS_S)
  
      Parameters
      ----------
      status : str
          The status of a recorder, which can be SCHEDULED, RUNNING, FINISHED, FAILED.
      """
      self.exp_manager.end_exp(recorder_status)
  
imports: from contextlib import contextmanager
  from typing import Text, Optional, Any, Dict
  from .expm import ExpManager
  from .exp import Experiment
  from .recorder import Recorder
  from ..utils import Wrapper
  from ..utils.exceptions import RecorderInitializationError
  import sys
label_desc: Use image node_id 5 for calling the QlibRecorder obj's underlying member method code with example usage: obj.end_exp(recorder_status) without return types