KenKundert / psf_utils

Read Spectre PSF files
49 stars 14 forks source link

unknown keyword 'LONG' #8

Closed asereq closed 2 years ago

asereq commented 2 years ago

I get the following error:

list-psf error:
    dcOpInfo.psf(134): unknown keyword 'LONG'.
        "diode_region" INT LONG PROP(
                           ^

The psf file (dcOpInfo.txt) contains

"diode_region" INT LONG PROP(
"description" "DIODE region"
)
KenKundert commented 2 years ago

Sorry about that. PSF seems to have an endless set of variations on the same theme. I have updated the github version if you would like to try it out. I will be making a few more improvements before I push the new version to pypi. Please let me know if the github version fixes your problem.

asereq commented 2 years ago

No problem, I understand the difficult of the undocumented format. Thanks for your time. And yes, the github version seems to solve the problem, thanks again.

KenKundert commented 2 years ago

I have updated pypi to version 1.5, which includes the code to fix your issue. Thanks for reporting it.