Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when parse STDF contain GDR #22

Open
showjim opened this issue May 21, 2020 · 2 comments
Open

Error when parse STDF contain GDR #22

showjim opened this issue May 21, 2020 · 2 comments

Comments

@showjim
Copy link

showjim commented May 21, 2020

I found there is an error, when parser GDR.
The reason is in class TextWriter. The method "text_format" is a static method without "self", but in GDR brantch "self.delimiter" is used and lead to the error.

@showjim showjim changed the title Error when STDF contain GDR Error when parse STDF contain GDR May 21, 2020
@Joshhzhao
Copy link

same issue i found, i directly changed self.delimiter to "|".join.... to fix issue temproary, before that i also found the issue about VnMap = { 0: lambda header: self.inp.read(header, 1) ......}, system shows 1 to 2 positions but give 3 arguments.., i changed to 0: lambda header: self.inp.read(0), the issue fixed, but i am not clear real reason.

@matt-beyer
Copy link

This is the same issue as #17 ... for now I'm using previous release via pip install git+https://github.com/cmars/pystdf.git@966cd5b, and switching my import to AtdfWriter rather than TextWriter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants