Skip to content

Commit

Permalink
Fixed bug where stop tag in collectAttributesFlow was never applied
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlSjostrand committed May 16, 2017
1 parent e64f639 commit daefefa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/se/nimsa/dcm4che/streams/DicomFlows.scala
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ object DicomFlows {
if (valueChunk.last) {
attributes = attributes :+ updatedAttribute
currentAttribute = None
if (attributes.head.header.tag >= stopTag) {
if (attributes.last.header.tag >= stopTag) {
attributesAndBuffer()
} else
Nil
Expand Down

0 comments on commit daefefa

Please sign in to comment.