marwern / PLCreX

Simplification, Transformation, Analysis, and Validation of IEC 61131-3 Programmable Logic Controllers
https://plcrex.readthedocs.io
GNU General Public License v3.0
54 stars 7 forks source link

data type conflict in _fbd2st:translation #11

Closed marwern closed 1 year ago

marwern commented 1 year ago

Description:

_iec_checker.execution(..) expects 'Path', but got 'str' argument

Solution:

_iec_checker.execution(fr'.\exports\st{Path(src).name}.st', '--verbose')

-->

_iec_checker.execution(Path(fr'.\exports\st{Path(src).name}.st'), '--verbose')