Commits

Anonymous committed 76772dc

DicomEdit 3.x has getTopTag instead of getTags

  • Participants
  • Parent commits 2a5ca25

Comments (0)

Files changed (1)

src/main/java/org/nrg/dcm/Anonymize.java

      */
     private static final int getTopTag(ScriptApplicator s) {
     	final SortedSet<Integer> tags = Sets.newTreeSet();
-        tags.addAll(s.getTags());
+    	tags.add(s.getTopTag());
         tags.add(Tag.SOPInstanceUID);   
         tags.add(Tag.ScanningSequence); // largest locally required tag: > tags for FMI, SOP Class UID
         								// This is the tag right after Anonymize.RecordTag