changeset 7101:35d418dd88e8 streaming

integration mainline->streaming
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 13 Aug 2026 14:35:19 +0000
parents a72fd96ed434 (current diff) db0d6743ee4e (diff)
children 9119f3ee5a6c d39776dc1be6
files
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Resources/CheckValueRepresentations.py	Thu Aug 13 14:33:34 2026 +0000
+++ b/OrthancFramework/Resources/CheckValueRepresentations.py	Thu Aug 13 14:35:19 2026 +0000
@@ -188,7 +188,12 @@
 
     func = re.search(r'ApplyVisitorToLeaf.*?boost::bad_lexical_cast', content, re.DOTALL).group(0)
     for vr in vrs:
-        if not ('case EVR_%s' % vr) in func and not ('== EVR_%s' % vr) in func:
+        if vr == 'OB':
+            ok = 'IsBinaryTag(' in func
+        else:
+            ok = ('case EVR_%s' % vr) in func or ('== EVR_%s' % vr) in func
+
+        if not ok:
             print('  - Value representation not handled:', vr)