Ok, here are the problems with your code:
The getAdjacentList() function takes a tuple containing two integers as the argument. You are giving it a CyPlot instance. These things are a world apart as far as types go.
Secondly, you should probably assign the return value of getAdjacentList() to some name/variable, not? Otherwise the interpreter won't know what the name tCoords is referring to:
Because trying to unpack a data structure that doesn't exist will cause an exception.
Also make sure your indentation levels match up, because the code you posted doesn't look right.
Code:
getAdjacentList(pRome)
Secondly, you should probably assign the return value of getAdjacentList() to some name/variable, not? Otherwise the interpreter won't know what the name tCoords is referring to:
Code:
x, y = tCoords
Also make sure your indentation levels match up, because the code you posted doesn't look right.