diff --git a/api/s19_reactions.py b/api/s19_reactions.py index be46b66..1222cc8 100644 --- a/api/s19_reactions.py +++ b/api/s19_reactions.py @@ -60,15 +60,15 @@ def set_reaction(name: str, cs: ChangeSet) -> ChangeSet: return execute_command(name, set_reaction_cache(name, cs)) -def inp_in_reaction(section: list[str]) -> ChangeSet: - cs = g_update_prefix | { 'type' : 'reaction' } - for s in section: - line = s.upper().strip() - for key in get_reaction_schema('').keys(): - if line.startswith(key): - value = line.removeprefix(key).strip() - cs |= { key : value } - return ChangeSet(cs) +# def inp_in_reaction(section: list[str]) -> ChangeSet: +# cs = g_update_prefix | { 'type' : 'reaction' } +# for s in section: +# line = s.upper().strip() +# for key in get_reaction_schema('').keys(): +# if line.startswith(key): +# value = line.removeprefix(key).strip() +# cs |= { key : value } +# return ChangeSet(cs) def inp_out_reaction(name: str) -> list[str]: