gaiusyu / Brain

Brain: Log Parsing with Bidirectional Parallel Tree
Apache License 2.0
27 stars 6 forks source link

type conflicts? #6

Closed lezhang-thu closed 3 months ago

lezhang-thu commented 3 months 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 3 months ago

2 done before.