ducttape icon indicating copy to clipboard operation
ducttape copied to clipboard

Summaries of summaries?

Open nschneid opened this issue 11 years ago • 1 comments

I wanted to display individual as well as averaged results, so I tried constructing a summary that would depend on another summary:

summary xresults {
  of eval > Acc {
    egrep -o "'Acc': ...." $result | cut -d' ' -f2 > $Acc
  }
}
summary xresults2 {
  of eval < Acc=@xresults[FoldA:*,FoldB:*,FoldC:*] > Avg {
    echo "$Acc" > $Avg
  }
}

This does not produce any syntax errors, but when I run the summary command, xresults2 is silently ignored.

nschneid avatar Aug 16 '13 20:08 nschneid

No support for this yet. I recommend writing two independent summaries.

I'll add a proper error message.

jhclark avatar May 15 '14 15:05 jhclark