def clinsig_human(variant_obj):
for clinsig_obj in variant_obj['<STR_LIT>']:<EOL><INDENT>if isinstance(clinsig_obj['<STR_LIT>'], int):<EOL><INDENT>link = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>link = "<STR_LIT>"<EOL><DEDENT>human_str = '<STR_LIT>'<EOL>if clinsig_obj.get('<STR_LIT:value>'):<EOL><INDENT>try:<EOL><INDENT>int(clinsig_obj['<STR_LIT:value>'])<EOL>human_str = CLINSIG_MAP.get(clinsig_obj['<STR_LIT:value>'], '<STR_LIT>')<EOL><DEDENT>except ValueError:<EOL><INDENT>human_str = clinsig_obj['<STR_LIT:value>']<EOL><DEDENT><DEDENT>clinsig_obj['<STR_LIT>'] = human_str<EOL>clinsig_obj['<STR_LIT>'] = link.format(clinsig_obj['<STR_LIT>'])<EOL>yield clinsig_obj<EOL><DEDENT>
Convert to human readable version of CLINSIG evaluation.