efabless / cace

Circuit Automatic Characterization Engine
https://cace.readthedocs.io/
Apache License 2.0
36 stars 6 forks source link

When an unexistent file is passed as argument, the syntax evaluation writes "CACE file has no syntax issues." #7

Closed akiles-esta-usado closed 4 months ago

akiles-esta-usado commented 4 months ago

I'm using the module python -m cace.common.read_cace as syntax evaluation criteria.

When passed an unexsiting file as argument, I expect the program to indicate that the file doesn't exist The program indicates that the file doens't exist as expected but also gives the success text

$ python -m cace.common.cace_read asdfasdgasdg
Error:  No such file asdfasdgasdg
CACE file has no syntax issues.
RTimothyEdwards commented 4 months ago

Thanks for the bug report. I have fixed the problem.