We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I get the following error when running https://github.com/diana-hep/TreeNiN/blob/master/code/top_reference_dataset/toptag_reference_dataset_Tree.py:
TypeError: list indices must be integers or slices, not float
It appears that the error occurs at
TreeNiN/code/top_reference_dataset/tree_cluster_hist.py
Line 44 in bb67898
My fix is to cast the value of the division to int, i.e.,
id = int(len(tree)/2)
Note: I'm using Python 3.7 instead of 2.7
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I get the following error when running https://github.com/diana-hep/TreeNiN/blob/master/code/top_reference_dataset/toptag_reference_dataset_Tree.py:
TypeError: list indices must be integers or slices, not float
It appears that the error occurs at
TreeNiN/code/top_reference_dataset/tree_cluster_hist.py
Line 44 in bb67898
My fix is to cast the value of the division to int, i.e.,
id = int(len(tree)/2)
Note: I'm using Python 3.7 instead of 2.7
The text was updated successfully, but these errors were encountered: