parameters: (self, ws_name)
return_statement: return tuple(values)
docstring: Retrieve the values of Bench_Rot from the workspace. If it does not find the value at the run info,
          it takes as default value the self.BENCH_ROT, which are extracted from the sample workspace
          at apply_detector_log.
          This is done to allow the function move_components to use the correct values and not to use
          all the values for TRANS ans SAMPLE the same, as sometimes, this assumption is not valid.
          The reason for this method is explained at the ticket http://trac.mantidproject.org/mantid/ticket/7314.
docstring_summary: Retrieve the values of Bench_Rot from the workspace. If it does not find the value at the run info,
          it takes as default value the self.BENCH_ROT, which are extracted from the sample workspace
          at apply_detector_log.
          This is done to allow the function move_components to use the correct values and not to use
          all the values for TRANS ans SAMPLE the same, as sometimes, this assumption is not valid.
          The reason for this method is explained at the ticket http://trac.mantidproject.org/mantid/ticket/7314.
docstring_tokens: Retrieve the values of Bench_Rot from the workspace . If it does not find the value at the run info it takes as default value the self . BENCH_ROT which are extracted from the sample workspace at apply_detector_log . This is done to allow the function move_components to use the correct values and not to use all the values for TRANS ans SAMPLE the same as sometimes this assumption is not valid . The reason for this method is explained at the ticket http : // trac . mantidproject . org / mantid / ticket / 7314 .
function: def getDetValues(self, ws_name):
          """
          Retrieve the values of Bench_Rot from the workspace. If it does not find the value at the run info,
          it takes as default value the self.BENCH_ROT, which are extracted from the sample workspace
          at apply_detector_log.
          This is done to allow the function move_components to use the correct values and not to use
          all the values for TRANS ans SAMPLE the same, as sometimes, this assumption is not valid.
          The reason for this method is explained at the ticket http://trac.mantidproject.org/mantid/ticket/7314.
          """
          # set the default value for these variables
          values = [self.BENCH_ROT]
          # get these variables from the workspace run
          run_info = mtd[str(ws_name)].run()
          ind = 0
          name = 'Bench_Rot'
          try:
              var = run_info.get(name).value
              if hasattr(var, '__iter__'):
                  var = var[-1]
              values[ind] = float(var)
          except:
              pass  # ignore, because we do have a default value
          ind += 1
          # return these variables
          return tuple(values)
function_tokens: def getDetValues ( self , ws_name ) : # set the default value for these variables values = [ self . BENCH_ROT ] # get these variables from the workspace run run_info = mtd [ str ( ws_name ) ] . run ( ) ind = 0 name = 'Bench_Rot' try : var = run_info . get ( name ) . value if hasattr ( var , '__iter__' ) : var = var [ - 1 ] values [ ind ] = float ( var ) except : pass # ignore, because we do have a default value ind += 1 # return these variables return tuple ( values )