Claudius-Appel / duflor.gui

GUI frontent for `duflor`-package
https://claudius-appel.github.io/duflor.gui/
MIT License
0 stars 0 forks source link

event `input$render_selected_mask`: file is not associated correctly #10

Closed Claudius-Appel closed 6 months ago

Claudius-Appel commented 6 months ago

This line

file <- DATA$r__tbl_dir_files$images_filtered[[input$tbl_results_filtered_rows_selected]]

does not work as expected, because assume you do a single-analysis, the table will only have a single entry. This would result in file 1 being loaded from DATA$r__tbl_dir_files, even if the image listed in this single-row table is not of DATA$r__tbl_dir_files (as is most-often the case).