Auto-assign missing harness title if reading from file
This commit is contained in:
parent
c38305b3a5
commit
81f955457d
@ -115,8 +115,8 @@ def parse(
|
||||
# keep track of auto-generated designators to avoid duplicates
|
||||
autogenerated_designators = {}
|
||||
|
||||
# if "title" not in harness.metadata:
|
||||
# harness.metadata["title"] = Path(yaml_path).stem
|
||||
if "title" not in harness.metadata:
|
||||
harness.metadata["title"] = Path(yaml_file).stem if yaml_file else ""
|
||||
|
||||
# add items
|
||||
# parse YAML input file ====================================================
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user