Update dicomParser. Small bug fix in hangingProtocol to avoid errors on non-image files
This commit is contained in:
1 parent
48a9990f32
commit
1bcf4fc02d
2 files changed
+1580
-1523
No files matched your search
+1572
-1523
File diff suppressed because it is too large.
Load diff
@@ -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
|
||||
|
||||
Reference in new issue
Block a user