'Returns a child metric.
Parameters
index : int
Index of child metric in the list of metrics.'

def get_metric(self, index):

    try:
        return self.metrics[index]
    except IndexError:
        return ValueError('Metric    index    {}    is    out    of    range    0    and    {}'.format(index, len(self.metrics)))
