Fixing methods option type for relatedness.py

Fixes `relatedness.py` item of #632