DeepLearnPhysics / lartpc_mlreco3d

7 stars 32 forks source link

Do we need to set the attribute to an int in the particle visualization too? #138

Closed bear-is-asleep closed 12 months ago

bear-is-asleep commented 1 year ago

https://github.com/DeepLearnPhysics/lartpc_mlreco3d/blob/560e840f87a6a8f86929cd3b37a799504e46e53b/mlreco/visualization/points.py#L172C22-L178

I've changed int(attribute) to attribute for the lines above in my local code and it works the same for integers and allows me to look at float values as well.