def parse_model_group(path, group):
context = FilePathContext(path)<EOL>for reaction_id in group.get('<STR_LIT>', []):<EOL><INDENT>yield reaction_id<EOL><DEDENT>for reaction_id in parse_model_group_list(<EOL>context, group.get('<STR_LIT>', [])):<EOL><INDENT>yield reaction_id<EOL><DEDENT>
Parse a structured model group as obtained from a YAML file

    Path can be given as a string or a context.