ProjectBlockParser#
- class pyedb.workflows.utilities.hfss_log_parser.ProjectBlockParser(lines: List[str])#
Bases:
BlockParserExtract project meta-data from the log header.
Example:
>>> block = ProjectBlockParser(lines) >>> info = block.parse() >>> info.name 'Patch_Antenna'
Overview#
Parse the stored lines and return a |
Import detail#
from pyedb.workflows.utilities.hfss_log_parser import ProjectBlockParser
Method detail#
- ProjectBlockParser.parse() ProjectInfo#
Parse the stored lines and return a
ProjectInfoinstance.- Returns:
Populated data object.
- Return type:
- Raises:
ValueError – If mandatory fields (project name or file path) cannot be located.