Minor change to metrics.py