ANP-Granular / ParticleTracking

Library and GUI for tracking (rod-like) particles on camera images in 2D and 3D
https://particletracking.readthedocs.io/en/latest/
GNU General Public License v3.0
2 stars 2 forks source link

Cannot add new rod of a given color if there are no rods of this color detected in a frame. #73

Closed ghoPritha closed 10 months ago

ghoPritha commented 1 year ago

Describe the bug Cannot add a new rod of a given color(in this case rosa) by following the usual steps if there are no rods of this color detected in a frame.

To Reproduce Steps to reproduce the behavior: i. Select the rods (click on one end of the rod drag the cursor to the other end and click again). ii. Pop-up asks to choose a number for the rods, enter the rod number(16 rods exist) and press 'ok', iii. Upon right-clicking, the rods get marked permanently. Here, for most frames in the 3rd step when I right-click, it is getting removed. Also in the right side nav-bar where the loaded particles for each frame are shown, Rosa color is not showing for those frames.

Expected behavior In step 3, upon right-clicking, the rods get marked permanently.

Screenshots rodtracker steps error.zip

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Logs Include log messages or a log file here. RodTracker.log