File tree Expand file tree Collapse file tree
src/mcp_pcb_emcopilot/parsers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ def _parse_altium(file_path: str) -> PCBDesignData:
423423 raise ImportError ("Altium parser requires 'olefile' package: pip install olefile" )
424424
425425 parser = AltiumPcbParser () # type: ignore[attr-defined]
426- board = parser .parse_file (file_path ) # type: ignore[attr-defined]
426+ board = parser .parse (file_path ) # type: ignore[attr-defined]
427427
428428 data = PCBDesignData (
429429 source_file = file_path ,
@@ -572,7 +572,7 @@ def _parse_ipc2581(file_path: str) -> PCBDesignData:
572572 from .ipc2581_parser import IPC2581Parser
573573
574574 parser = IPC2581Parser () # type: ignore[attr-defined]
575- ipc = parser .parse_file (file_path ) # type: ignore[attr-defined]
575+ ipc = parser .parse (file_path ) # type: ignore[attr-defined]
576576
577577 data = PCBDesignData (
578578 source_file = file_path ,
You can’t perform that action at this time.
0 commit comments