KenKundert / psf_utils

Read Spectre PSF files
49 stars 14 forks source link

inf keyword in dcOpInfo files is not parsed correctly #17

Closed kove87 closed 7 months ago

kove87 commented 1 year ago

When reading in a psfascii file containing dc operating point information. I get the following error:

psf_utils.parse.ParseError: dcOpInfo.info.mod.pfsascii(72377): illegal character 'i'.
    inf

work around: a find and replace of inf to nan in the data file.

KenKundert commented 1 year ago

Can you get me an example file so I can test any fix?

KenKundert commented 1 year ago

I have updated the github repository with a proposed fix. Would you please download and try it.

kove87 commented 1 year ago

The updated code works! Thanks for the update.

KenKundert commented 1 year ago

May take some time to get this into pypi. Will that be an issue for you?

kove87 commented 1 year ago

No issue at all.

KenKundert commented 7 months ago

This fix is now available in PyPi.