eclipse / chemclipse

ChemClipse Project
Eclipse Public License 1.0
38 stars 18 forks source link

PCA - sample list focusing wrong entry #1962

Closed eselmeister closed 18 minutes ago

eselmeister commented 1 day ago

If the sample list contains "Samples Names" with the same content, then the selection of the 2nd, 3rd ... row fails and focus is immediately set to the first row with the selected name.

Demo.zip

Screenshot From 2024-11-18 18-20-27 Screenshot From 2024-11-18 18-20-54 Screenshot From 2024-11-18 18-21-13 Screenshot From 2024-11-18 18-21-20

lorenzgerber commented 14 hours ago

The problem is not based on the sample selection/highlighting but on the underlying classes representing samples in the result element. One cause is an equals method based on sample name and in another cause is the series converter translating sample names into series ids. I will suggest a solution.