interpret_entry

jwst.model_blender.blendrules.interpret_entry(line, hdr)[source]

Generate the rule(s) specified by the entry from the rules file.

Notes

The entry should always be a dict with format: {attribute_name : {‘rule’:’some_rule’, ‘output’:’’}} – or (for table column specification)– {attribute_name: attribute_name} where ‘output’ is assumed to be the same as attribute_name if not present