Hi Valentine authors!
I am having trouble with a bug that seems to be coming from Valentine, but I am unsure:
-
in similarity_flooding.py, is it expected that long_name may sometimes be None? (this is causing my experiments to crash)
-
dumbish question: is it possible that column_name should be =e[0].long_name ?
def __get_attribute_tuple(self, node):
column_name = None
if node in self.__graph1.nodes():
for e in self.__graph1.out_edges(node):
links = self.__graph1.get_edge_data(e[0], e[1])
if links.get('label') == "name":
column_name = e[1].long_name ##### LONG_NAME is None
else:
for e in self.__graph2.out_edges(node):
links = self.__graph2.get_edge_data(e[0], e[1])
if links.get('label') == "name":
column_name = e[1].long_name
return column_name
Hi Valentine authors!
I am having trouble with a bug that seems to be coming from Valentine, but I am unsure:
in
similarity_flooding.py, is it expected thatlong_namemay sometimes beNone? (this is causing my experiments to crash)dumbish question: is it possible that
column_nameshould be=e[0].long_name?