-
Notifications
You must be signed in to change notification settings - Fork 19
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
SDR.py when convert to ATDF is missing SITE_NUM if SITE_NUM is empty, PRR missing P/F flag #46
Comments
Hello Jervin, |
Hello again,
I already push the changes. Let me know if this works for you. If not, please open the issue again and let me know what fix you want. Including your proposal for line 2063 in STDR.py, but I have to check it carefully, because it is affects all ATDF records which does not have own to_atdf() function. Thank you for using the STDF library! Kind Regards, |
hello, sorry there might be a miscommunication, i'm not sure if you fixed the right thing or not... it seems PRR.py is fixed and not SDR.py I actually raised 2 items here...
the SITE_NUM issue I referred to was regarding SDR, where SITE_NUM did not reflect when the list is empty in the screenshots showed earlier, you can see that when using Semi-ATE-STDF, a pipe is missing if SITE_NUM is an empty array. regarding missing SITE_NUM in PRR, when using both stdf4_to_atdf2.pl (perl) and stdfatdf.exe (teradyne binaries) i'm not sure if the following fix is accurate:
however from my own internal testing attached here are the converted ATDFs in question, with *.atdf is converted using stdfatdf.exe (teradyne binaries) and *.txt is converted using stdf4_to_atdf2.pl (perl) , and the original STDF as well
in other converters I used, including stdf4_to_atdf2.pl (perl), stdfatdf.exe (teradyne binaries) and pystdf (python), an F flag is raised even if is invalid. Perhaps you can fact check this claim of mine? you can use my attached files to test. |
Tasks/Steps/Elements
I'm not sure if this is the right spot to report bugs, but after converting to ADTF I found that the SITE_NUM was missing, and the F flag is missing in PRR, see below screenshots:
from another converter:
from a perl converter:
from using this package:
I believe the SITE_NUM can be fix if add "or value == []" to line 2063 in STDR.py like so
here are a list of PRR that was converted to atdf string, seems like the P/F flag is missing
if not mistaken the logic is assume the invalid (PART_FLG bit 4 fail even tho bit 3 pass) as Fail too based on other "converters"
Versions checklist
The text was updated successfully, but these errors were encountered: