Fixed the formatting in IGweight.py