gaiusyu / Brain

Brain: Log Parsing with Bidirectional Parallel Tree
26 stars 6 forks source link

type conflicts? #6

Closed lezhang-thu closed 1 month ago

lezhang-thu commented 1 month ago

In the code: https://github.com/gaiusyu/Brain/blob/main/Brain/Brain.py#L197 i.e., if father[0] == root_set_detail[key][i][k]:

however, father[0] is of type int, whereas root_set_detail[key][i][k] is of type tuple. So, how to compare these two quantities?

lezhang-thu commented 1 month ago

2 done before.