Skip to content

Commit

Permalink
Merge pull request #44 from AstarVienna/template
Browse files Browse the repository at this point in the history
Added tplname to recipes.yaml to vary the templates in the headers
  • Loading branch information
gotten authored Jun 27, 2024
2 parents cc3962d + 6956ef9 commit 5210401
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 9 deletions.
4 changes: 4 additions & 0 deletions ESO/compare_yaml_with_drld.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
if props['type'] != di.dpr_type:
problems.append(f"{do_catg} has DPR.TYPE {props['type']} in yaml but {di.dpr_type} in DRLD")

tplname = props["tplname"].lower()
if tplname not in di.templates:
problems.append(f"{do_catg} has tplname {tplname} but only {di.templates} create it")

do_catg_used_in_yaml = {settings['prefix'] for settings in recipes.values()}
do_catg_used_in_drld = {a for a in METIS_DataReductionLibraryDesign.dataitems if a.endswith("_RAW")}
do_catg_only_in_yaml = do_catg_used_in_yaml - do_catg_used_in_drld
Expand Down
Loading

0 comments on commit 5210401

Please sign in to comment.