Update dicomParser. Small bug fix in hangingProtocol to avoid errors on non-image files
This commit is contained in:
parent
48a9990f32
commit
1bcf4fc02d
File diff suppressed because it is too large
Load Diff
@ -9,6 +9,14 @@ function defaultHangingProtocol(inputData) {
|
|||||||
var stacks = [];
|
var stacks = [];
|
||||||
studies.forEach(function(study) {
|
studies.forEach(function(study) {
|
||||||
study.seriesList.forEach(function(series) {
|
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 = {
|
var stack = {
|
||||||
series: series,
|
series: series,
|
||||||
study: study
|
study: study
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user