parameters: (ws)
return_statement: return summed_runs
docstring: Retrieve list of contributed run numbers from the sum workspace log
docstring_summary: Retrieve list of contributed run numbers from the sum workspace log
docstring_tokens: Retrieve list of contributed run numbers from the sum workspace log
function: def get_sum_run_list(ws):
          """Retrieve list of contributed run numbers from the sum workspace log"""
  
          summed_runs = []
          if RunDescriptor._sum_log_name in ws.getRun():
              summed_str = ws.getRun().getLogData(RunDescriptor._sum_log_name).value
              run_nums = summed_str.split(',')
              for run_str in run_nums:
                  summed_runs.append(int(run_str))
          else:
              raise RuntimeError("Presumably sum workspace {0} does not have sum log attached to it".format(ws.name()))
          return summed_runs
function_tokens: def get_sum_run_list ( ws ) : summed_runs = [ ] if RunDescriptor . _sum_log_name in ws . getRun ( ) : summed_str = ws . getRun ( ) . getLogData ( RunDescriptor . _sum_log_name ) . value run_nums = summed_str . split ( ',' ) for run_str in run_nums : summed_runs . append ( int ( run_str ) ) else : raise RuntimeError ( "Presumably sum workspace {0} does not have sum log attached to it" . format ( ws . name ( ) ) ) return summed_runs