(action, knob_list, experiments)
Modify the manually enabled/disabled lists.

  Args:
    action: string, action to take, either add or remove.
    knob_list: list of manual setting knobs to modify
    experiments: string, comma-delimited string of experiments to add or remove
  Raises:
    ValueError: an invalid action was requested.
Modify the manually enabled/disabled lists.
Modify the manually enabled / disabled lists .
def ModifyManualList(action, knob_list, experiments):
  """Modify the manually enabled/disabled lists.

  Args:
    action: string, action to take, either add or remove.
    knob_list: list of manual setting knobs to modify
    experiments: string, comma-delimited string of experiments to add or remove
  Raises:
    ValueError: an invalid action was requested.
  """
  experiments = '' if experiments is None else experiments
  exp_list = ConvertCSVStringToList(experiments)
  for experiment in exp_list:
    for knob in knob_list:
      if action == 'add':
        AddExperimentToManualList(experiment, knob)
      elif action == 'remove':
        RemoveExperimentFromManualList(experiment, knob)
      else:
        raise ValueError('%s is not a valid action.')
def ModifyManualList ( action , knob_list , experiments ) : experiments = '' if experiments is None else experiments exp_list = ConvertCSVStringToList ( experiments ) for experiment in exp_list : for knob in knob_list : if action == 'add' : AddExperimentToManualList ( experiment , knob ) elif action == 'remove' : RemoveExperimentFromManualList ( experiment , knob ) else : raise ValueError ( '%s is not a valid action.' )