def face_volume(pts1, pts2, polys):
    '''Volume of each face in a polyhedron sheet'''
    vols = np.zeros((len(polys),))
    for i, face in enumerate(polys):
        vols[i] = brick_vol(np.append(pts1[face], pts2[face], axis=0))
        if 1000 % i == 0:
            print(i)
    return vols
dataset/ETHPy150Open gallantlab/pycortex/cortex/polyutils.py/face_volume/swapped operands of `%`