# HG changeset patch # User Sebastien Jodogne # Date 1786631719 0 # Node ID 35d418dd88e8ebecfa45b3b603c61eb2e4fd2924 # Parent a72fd96ed434393d82981631ca09b22cf1ab436d# Parent db0d6743ee4e4e14b7e5394c7798531af1ed087a integration mainline->streaming diff -r a72fd96ed434 -r 35d418dd88e8 OrthancFramework/Resources/CheckValueRepresentations.py --- 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)