
In the get_neighbors function, the value passed into the self.get_order(value) is in the vector format (raw sequence order number). But the get_order() method returns self.value_dict[value], which is supposed to take the ordinal name.
One potential way to fix this is just to change line 270 to be if transform == False:, which reverse the transform logic.