I had to look into each line to find this line is producing empty G2G list which results in empty variant explanation variable https://github.com/snap-stanford/KGWAS/blob/cb8bd3b80a742a17a3e9912f889714e374f65f6b/kgwas/utils.py#L539