class RemoveTrial : public feasst::Action

Remove a Trial.


  • index: index of trial to remove, in order of trials added. If -1, do nothing. (default: -1).

  • name: remove first trial with this class name, if not empty. (default: empty).

  • all: remove all trials (default: false)

  • name_contains: remove all trials with this in the class name, if not empty (default: empty). Similar to the name that appears in Log, if the class_name is Trial, use the description instead (e.g., TrialGrowadd in TrialGrow).