populse / populse_mia

Multiparametric Image Analysis
Other
10 stars 9 forks source link

[general need] The Brick tag does not follow the reshuffle made with the "Multiple sort" feature #264

Closed servoz closed 2 years ago

servoz commented 2 years ago

To reproduce:

In a project where a process has already been launched (with at least one Bricks tag), if we use the Multiple sort feature (right click in the Data Browser table and selectMultiple sort), the resulting reorganisation seems to work correctly except that the Bricks tag(s) do not change place (so the new table is wrong).

Without having looked at this problem in detail, I suspect that the recovery of items during sorting is not done correctly in the case of the Bricks tag. Indeed, we use QtWidgets.QTableWidget.takeItem(row, column) to retrieve the item and I think this is not the right method in the case of the Bricks tag (it is not a simple item like the others).

servoz commented 2 years ago

closed by 4360d8a, 2258a2a and d7c42cd.