# HG changeset patch # User Sebastien Jodogne # Date 1786533662 -7200 # Node ID db0d6743ee4e4e14b7e5394c7798531af1ed087a # Parent 66f7a5185a4c59e88c6963a464021957e36b202d fix CheckValueRepresentations.py diff -r 66f7a5185a4c -r db0d6743ee4e OrthancFramework/Resources/CheckValueRepresentations.py --- a/OrthancFramework/Resources/CheckValueRepresentations.py Wed Aug 12 12:37:09 2026 +0200 +++ b/OrthancFramework/Resources/CheckValueRepresentations.py Wed Aug 12 13:21:02 2026 +0200 @@ -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)