Update QMetric.py

after consultation