def process_unset(line, annotations):
matches = re.match('<STR_LIT>', line)<EOL>if matches:<EOL><INDENT>val = matches.group(<NUM_LIT:1>)<EOL>if val == "<STR_LIT>" or val == "<STR_LIT>":<EOL><INDENT>annotations = {}<EOL><DEDENT>elif re.match("<STR_LIT:{>", val):<EOL><INDENT>vals = convert_csv_str_to_list(val)<EOL>for val in vals:<EOL><INDENT>annotations.pop(val, None)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>annotations.pop(val, None)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>log.warn(f"<STR_LIT>")<EOL><DEDENT>return annotations<EOL>
Process UNSET lines in BEL Script