From aa032df4cf9f1586f2e086cdef1e2585e100f2c9 Mon Sep 17 00:00:00 2001 From: seimit <77433609+seimit@users.noreply.github.com> Date: Sat, 11 Feb 2023 18:16:35 +0200 Subject: [PATCH 1/3] Update PRR.py Added empty field when PART_FLG bits 0 and 1 have value 0. --- Semi_ATE/STDF/PRR.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Semi_ATE/STDF/PRR.py b/Semi_ATE/STDF/PRR.py index 91f0712..112f2d0 100644 --- a/Semi_ATE/STDF/PRR.py +++ b/Semi_ATE/STDF/PRR.py @@ -121,6 +121,8 @@ def to_atdf(self): body += "I|" elif v != None and v[1] == '1': body += "C|" + elif v != None and v[0] == '0' and v[1] == '0': + body += "|" # 5 PART_FLG bit 2 if v != None and v[2] == '0': body += "|" @@ -157,4 +159,4 @@ def to_atdf(self): if self.local_debug: print("%s._to_atdf()\n '%s'\n" % (self.id, retval)) return retval - \ No newline at end of file + From 2557a9d8a87d494aee854c255f03226cf01b3bea Mon Sep 17 00:00:00 2001 From: seimit <77433609+seimit@users.noreply.github.com> Date: Sat, 11 Feb 2023 18:23:49 +0200 Subject: [PATCH 2/3] Update PRR.py Revert changes to check if tests will pass --- Semi_ATE/STDF/PRR.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Semi_ATE/STDF/PRR.py b/Semi_ATE/STDF/PRR.py index 112f2d0..9ecf042 100644 --- a/Semi_ATE/STDF/PRR.py +++ b/Semi_ATE/STDF/PRR.py @@ -121,8 +121,8 @@ def to_atdf(self): body += "I|" elif v != None and v[1] == '1': body += "C|" - elif v != None and v[0] == '0' and v[1] == '0': - body += "|" +# elif v != None and v[0] == '0' and v[1] == '0': +# body += "|" # 5 PART_FLG bit 2 if v != None and v[2] == '0': body += "|" From 149b4ea3bb352f629e93e737c36466cce5fc0cc4 Mon Sep 17 00:00:00 2001 From: seimit <77433609+seimit@users.noreply.github.com> Date: Sat, 11 Feb 2023 18:27:42 +0200 Subject: [PATCH 3/3] Update PRR.py Return back changes - the tests are not failed due the change. --- Semi_ATE/STDF/PRR.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Semi_ATE/STDF/PRR.py b/Semi_ATE/STDF/PRR.py index 9ecf042..112f2d0 100644 --- a/Semi_ATE/STDF/PRR.py +++ b/Semi_ATE/STDF/PRR.py @@ -121,8 +121,8 @@ def to_atdf(self): body += "I|" elif v != None and v[1] == '1': body += "C|" -# elif v != None and v[0] == '0' and v[1] == '0': -# body += "|" + elif v != None and v[0] == '0' and v[1] == '0': + body += "|" # 5 PART_FLG bit 2 if v != None and v[2] == '0': body += "|"