Reduce import statements
Signed-off-by: Justin Georgi <justin.georgi@gmail.com>
This commit is contained in:
@@ -104,7 +104,7 @@ export class StructureBox {
|
||||
}
|
||||
}
|
||||
|
||||
export default class Structure {
|
||||
export class Structure {
|
||||
constructor(structResult) {
|
||||
this.label = structResult.label
|
||||
this.confidence = structResult.confidence
|
||||
|
||||
@@ -144,8 +144,7 @@
|
||||
import touchMixin from './touch-mixin'
|
||||
|
||||
import detectionWorker from '@/assets/detect-worker.js?worker&inline'
|
||||
import Structure from '../js/structures'
|
||||
import { StructureBox } from '../js/structures'
|
||||
import { Structure, StructureBox } from '../js/structures'
|
||||
|
||||
const regions = ['Thorax','Abdomen/Pelvis','Limbs','Head and Neck']
|
||||
let activeRegion = 4
|
||||
|
||||
Reference in New Issue
Block a user