Skip to content

Commit

Permalink
swap order of saving
Browse files Browse the repository at this point in the history
  • Loading branch information
birm committed Sep 13, 2023
1 parent ee02e05 commit 5676949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/labeling/pitfalls.js
Original file line number Diff line number Diff line change
Expand Up @@ -1115,11 +1115,11 @@ function addROIFormEvent() {
}
let label = $D.activeROI;
const {x, y, width, height} = label.properties;
label.properties.evaluable = document.querySelector(`input[type=radio][name=roi_type]:checked`).value;
label.properties.type = tissueType;
label.properties.percent_stroma = itsRange.value;
label.properties.til_density = vtaRange.value;
label.properties.pitfalls = pitfalls;
label.properties.evaluable = document.querySelector(`input[type=radio][name=roi_type]:checked`).value;
label.geometries.features[0].properties.style.color = '#7cfc00'; // overwrite highlight color
label.task = 'roiSelection';
const flileloc = $D.params.data.location.split('/');
Expand Down

0 comments on commit 5676949

Please sign in to comment.