Add configuration option for DIMSE connections to fix connections to DCM4CHEE (#23)
This commit is contained in:
1 parent
3e4b66cfcd
commit
804488458c
5 files changed
+72
-16
No files matched your search
@@ -26,7 +26,6 @@ getStudyMetadata = function(studyInstanceUid, doneCallback, failCallback) {
|
||||
// If no study metadata is in the cache variable, we need to retrieve it from
|
||||
// the server with a call.
|
||||
Meteor.call('GetStudyMetadata', studyInstanceUid, function(error, study) {
|
||||
log.info('worklistStudy getStudyMetadata: ' + studyInstanceUid);
|
||||
console.timeEnd('getStudyMetadata');
|
||||
|
||||
if (Meteor.user && Meteor.user()) {
|
||||
@@ -48,6 +47,10 @@ getStudyMetadata = function(studyInstanceUid, doneCallback, failCallback) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!study) {
|
||||
throw "GetStudyMetadata: No study data returned from server";
|
||||
}
|
||||
|
||||
// Once we have retrieved the data, we sort the series' by series
|
||||
// and instance number in ascending order
|
||||
sortStudy(study);
|
||||
|
||||
Reference in new issue
Block a user