Skip to content

Commit 28fceb5

Browse files
authored
lib: add operator_name to listSegmentations payload (#947)
Adds `operator_name` (read from `sample_operator` in the segmentation TSV's first row) to `getSegmentationFromPath()` in `lib/db.js`. Enables sorting the Visualization page's List of Segmentation by operator, parity with the Segmentation page's List of Acquisitions.
1 parent acb498e commit 28fceb5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/db.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ async function getSegmentationFromPath(path) {
210210
project_name,
211211
sample_id,
212212
acquisition_id,
213+
operator_name: tsv_row.sample_operator,
213214
image_acquired_count,
214215
path,
215216
gallery: getGalleryPath(path),

0 commit comments

Comments
 (0)