Testing + Removing debugger statements
This commit is contained in:
parent
402d45f40b
commit
014dc7730f
@ -65,8 +65,6 @@ Template.viewer.onCreated(() => {
|
||||
instance.autorun(OHIF.lesiontracker.pixelSpacingAutorunCheck);
|
||||
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
|
||||
// Update the OHIF.viewer.Studies collection with the loaded studies
|
||||
OHIF.viewer.Studies.removeAll();
|
||||
|
||||
|
||||
@ -49,8 +49,6 @@ Template.viewer.onCreated(() => {
|
||||
Session.set('activeViewport', ViewerData[contentId].activeViewport || 0);
|
||||
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
|
||||
// Update the OHIF.viewer.Studies collection with the loaded studies
|
||||
OHIF.viewer.Studies.removeAll();
|
||||
|
||||
|
||||
@ -136,7 +136,6 @@ function getActiveViewportImageId() {
|
||||
|
||||
function getAbstractPriorValue(imageId) {
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
// @TODO: Implement MIN and MAX methods in TypeSafeCollection
|
||||
// const currentStudy = ViewerStudies.findOne({}, {
|
||||
// sort: {
|
||||
|
||||
@ -404,7 +404,6 @@ HP.ProtocolEngine = class ProtocolEngine {
|
||||
}
|
||||
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
|
||||
var alreadyLoaded = OHIF.viewer.Studies.findBy({
|
||||
studyInstanceUid: priorStudy.studyInstanceUid
|
||||
|
||||
@ -32,7 +32,6 @@ function findAndRenderDisplaySet(displaySets, viewportIndex, studyInstanceUid, s
|
||||
function renderIntoViewport(viewportIndex, studyInstanceUid, seriesInstanceUid, sopInstanceUid, renderedCallback) {
|
||||
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
|
||||
// First, check if we already have this study loaded
|
||||
const alreadyLoadedStudy = OHIF.viewer.Studies.findBy({ studyInstanceUid });
|
||||
|
||||
@ -4,7 +4,6 @@ import { OHIF } from 'meteor/ohif:core';
|
||||
Template.studyBrowser.helpers({
|
||||
studies() {
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
return OHIF.viewer.Studies.findAllBy({
|
||||
selected: true
|
||||
});
|
||||
|
||||
@ -586,7 +586,6 @@ Template.imageViewerViewport.onRendered(function() {
|
||||
}
|
||||
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
const study = OHIF.viewer.Studies.findBy({ studyInstanceUid });
|
||||
|
||||
data.study = study;
|
||||
|
||||
@ -29,7 +29,6 @@ Template.studySeriesQuickSwitch.onCreated(() => {
|
||||
const viewportData = instance.getViewportData(viewportIndex);
|
||||
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
|
||||
if (viewportData) {
|
||||
// Finds the current study and return it
|
||||
|
||||
@ -41,7 +41,6 @@ Template.studyTimepoint.events({
|
||||
let $studiesTarget = instance.$('.studyTimepoint');
|
||||
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
|
||||
if (changed.isQuickSwitch) {
|
||||
// Changes the current quick switch study
|
||||
|
||||
@ -22,7 +22,6 @@ Template.studyTimepointBrowser.onCreated(() => {
|
||||
// Get the studies for a specific timepoint
|
||||
instance.getStudies = timepoint => {
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
|
||||
if (!timepoint) {
|
||||
return OHIF.viewer.Studies.all();
|
||||
|
||||
@ -99,7 +99,6 @@ Template.studyTimepointStudy.events({
|
||||
const isQuickSwitch = !_.isUndefined(instance.data.viewportIndex);
|
||||
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
// Check if the study already has series data,
|
||||
// and if not, retrieve it.
|
||||
if (!studyData.seriesList) {
|
||||
@ -128,7 +127,6 @@ Template.studyTimepointStudy.events({
|
||||
Template.studyTimepointStudy.helpers({
|
||||
isLoading() {
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
const instance = Template.instance();
|
||||
const studyData = instance.data.study;
|
||||
const alreadyLoaded = OHIF.viewer.Studies.findBy({ studyInstanceUid: studyData.studyInstanceUid });
|
||||
|
||||
@ -219,7 +219,6 @@ Template.viewportOverlay.helpers({
|
||||
}
|
||||
|
||||
// @TypeSafeStudies
|
||||
debugger
|
||||
// Make sure there are more than two studies loaded in the viewer
|
||||
const viewportStudies = OHIF.viewer.Studies.all();
|
||||
if (viewportStudies.length < 2) {
|
||||
|
||||
@ -4,7 +4,7 @@ import { OHIF } from 'meteor/ohif:core';
|
||||
|
||||
const getStudyFromStudyInstanceUid = studyInstanceUid => {
|
||||
// @TypeSafeStudies
|
||||
return Studies.findBy({ studyInstanceUid });
|
||||
return OHIF.viewer.Studies.findBy({ studyInstanceUid });
|
||||
};
|
||||
|
||||
const getNumberOfStacks = studyInstanceUid => {
|
||||
|
||||
@ -44,7 +44,6 @@ Template.viewer.onCreated(() => {
|
||||
Session.set('activeViewport', ViewerData[contentId].activeViewport || 0);
|
||||
|
||||
// @TypeSafeStudies
|
||||
debugger;
|
||||
// Update the OHIF.viewer.Studies collection with the loaded studies
|
||||
OHIF.viewer.Studies.removeAll();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user