Removing unused code from LesionTracker

This commit is contained in:
Bruno Alves de Faria committed 2017-09-28 08:16:23 -03:00
1 parent bacfa24216
commit 67a525167b
6 files changed
+1 -800

No files matched your search

@@ -64,22 +64,8 @@ const BidirectionalSchema = new SimpleSchema([MeasurementSchemaTypes.Cornerstone
}]);
const displayFunction = data => {
// Check whether this is a Nodal or Extranodal Measurement
// const targetType = 'target';
// const nodalType = data.isNodal ? 'nodal' : 'extraNodal';
// Get criteria types
// const criteriaTypes = OHIF.lesiontracker.TrialCriteriaTypes.find({
// selected: true
// }).map(criteria => {
// return criteria.id;
// });
// const currentConstraints = OHIF.lesiontracker.getTrialCriteriaConstraints(criteriaTypes, data.imageId);
if (data.shortestDiameter) {
// TODO: Make this check criteria again to see if we should display
// shortest x longest
// TODO: Make this check criteria again to see if we should display shortest x longest
return data.longestDiameter + ' x ' + data.shortestDiameter;
}