Update dicomParser. Small bug fix in hangingProtocol to avoid errors on non-image files

This commit is contained in:
Erik Ziegler 2015-11-05 19:57:07 +01:00
parent 48a9990f32
commit 1bcf4fc02d
2 changed files with 1580 additions and 1523 deletions

File diff suppressed because it is too large Load Diff

View File

@ -9,6 +9,14 @@ function defaultHangingProtocol(inputData) {
var stacks = [];
studies.forEach(function(study) {
study.seriesList.forEach(function(series) {
// Ensure that the series has image data
// (All images have rows)
var anInstance = series.instances[0];
if (!anInstance || !anInstance.rows) {
return;
}
var stack = {
series: series,
study: study