diff --git a/src/ga4gh/gks/metaschema/scripts/y2t.py b/src/ga4gh/gks/metaschema/scripts/y2t.py index 422e004..3d60c4c 100755 --- a/src/ga4gh/gks/metaschema/scripts/y2t.py +++ b/src/ga4gh/gks/metaschema/scripts/y2t.py @@ -165,8 +165,8 @@ def main(proc_schema: YamlSchemaProcessor) -> None: for class_name, class_definition in proc_schema.defs.items(): with open(proc_schema.def_fp / (class_name + ".rst"), "w") as f: maturity = class_definition.get("maturity", "") + template = env.get_template("maturity") if maturity == "draft": - template = env.get_template("maturity") print( template.render(info="warning", maturity_level="draft", modifier="significantly"), file=f,