Compare commits
No commits in common. "73f8f816b7e5bccf95d025345a2c3fbf106c800d" and "e0ecd3f4ac55e2ccba60525db23821b810960494" have entirely different histories.
73f8f816b7
...
e0ecd3f4ac
|
|
@ -405,13 +405,6 @@ export default {
|
||||||
})
|
})
|
||||||
this.resetViewport(false)
|
this.resetViewport(false)
|
||||||
item.bidirectional = null
|
item.bidirectional = null
|
||||||
if (DATA) {
|
|
||||||
this.segmentationId = DATA.SegmentationId;
|
|
||||||
this.segmentIndex = DATA.SegmentMumber;
|
|
||||||
setTimeout(() => {
|
|
||||||
this.selectSegment(DATA)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
bidirectionalData.forEach((bidirectional) => {
|
bidirectionalData.forEach((bidirectional) => {
|
||||||
const { segmentIndex } = bidirectional;
|
const { segmentIndex } = bidirectional;
|
||||||
|
|
@ -1061,12 +1054,9 @@ export default {
|
||||||
// console.log(segmentStat, 'segmentStat')
|
// console.log(segmentStat, 'segmentStat')
|
||||||
segmentStat.count.label = 'Voxels';
|
segmentStat.count.label = 'Voxels';
|
||||||
let segmentGroup = this.segmentList.find(item => item.segmentationId === segmentationId)
|
let segmentGroup = this.segmentList.find(item => item.segmentationId === segmentationId)
|
||||||
if (segmentGroup) {
|
|
||||||
let segment = segmentGroup.segments.find(item => item.segmentIndex === segmentIndex)
|
let segment = segmentGroup.segments.find(item => item.segmentIndex === segmentIndex)
|
||||||
segment.stats = segmentStat;
|
segment.stats = segmentStat;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
const items = [`Statistics on ${indices.join(', ')}`];
|
const items = [`Statistics on ${indices.join(', ')}`];
|
||||||
|
|
@ -1302,7 +1292,6 @@ export default {
|
||||||
// this.getBidirectional(o)
|
// this.getBidirectional(o)
|
||||||
// })
|
// })
|
||||||
if (SEGMENT && index === segments.length - 1) {
|
if (SEGMENT && index === segments.length - 1) {
|
||||||
console.log(SEGMENT, 'SEGMENT')
|
|
||||||
return this.getBidirectional(o, SEGMENT)
|
return this.getBidirectional(o, SEGMENT)
|
||||||
}
|
}
|
||||||
this.getBidirectional(o)
|
this.getBidirectional(o)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue