wenhao-gao / SynNet

MIT License
84 stars 21 forks source link

Bug: Missing argument `_tree` #15

Closed chrulm closed 2 years ago

chrulm commented 2 years ago

It seems like the argument _tree is missing for the nn_search function.

Missing argument here: https://github.com/wenhao-gao/SynNet/blob/56917a668c1a6b633964e02eb53b717be0d1dd64/syn_net/utils/predict_utils.py#L871

And function signature here: https://github.com/wenhao-gao/SynNet/blob/56917a668c1a6b633964e02eb53b717be0d1dd64/syn_net/utils/predict_utils.py#L290

As far as I can see, there is no _tree in the local scope. This will throw an error but is caught in scripts/_mp_predict_multireactant.py/ with a try ... except clause.