Compare the two given DICOM trees (of type MLABDicomTree) for equality.
- Note
- This function doesn't compensate for when the same Private Creator is assigned to a different slot, it will show a difference in this case.
- Parameters
-
tree1 | The first tree. |
tree2 | The second tree. |
printDifferences | If differences should be printed, default is True. |
printOnlyFirstDifference | If set to true, only the first difference is printed. |
outputFunction | The function to use to output difference messages. The default is MLAB.logError, but you can also use, e.g., MLAB.log if you expect differences |
- Returns
- True if the trees are equal.
Definition at line 120 of file DicomTreeCompare.py.