import sys in gen_particle.py
@vgawas this should fix the issue (which only showed up because normally it shouldn't reach that part of the code)
@vgawas this should fix the issue (which only showed up because normally it shouldn't reach that part of the code)