Auto-assign missing harness title if reading from file
This commit is contained in:
parent
d19c260940
commit
e31ed72655
@ -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