- Timestamp:
- Apr 10, 2023, 11:57:03 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rawfix.20230221/src/fix_chip_locations.pl
r42445 r42446 40 40 my $Ncul2 = 0; 41 41 my $Ncul3 = 0; 42 my $Nfail = 0; 42 43 43 44 # load the lists of good and fail chips … … 146 147 close (OUTFILE); 147 148 } 148 if ($goodMD5) { $Ndups++; } else { $Nfail ++; } 149 ## if we know the MD5 is bad, add to Nfail, otherwise add to Ndups 150 if ($haveMD5 && !$goodMD5) { 151 $Nfail ++; 152 } else { 153 $Ndups++; 154 } 149 155 next; 150 156 } … … 162 168 print OUTFILE "$newfile $datast $md5sum\n"; 163 169 close (OUTFILE); 164 } 165 if ($goodMD5) { $Nxbck++; } else { $Nfail ++; } 170 } 171 ## if we know the MD5 is bad, add to Nfail, otherwise add to Nxbck: 172 if ($haveMD5 && !$goodMD5) { 173 $Nfail ++; 174 } else { 175 $Nxbck++; 176 } 166 177 next; 167 178 } … … 193 204 } 194 205 195 # these are done in stage 3: 196 if ($goodMD5) { 206 ## if we know the MD5 is bad, add to Nfail, otherwise add to NculX 207 if ($haveMD5 && !$goodMD5) { 208 $Nfail ++; 209 } else { 197 210 if ($state eq "CUL1:") { $Ncul1++; next; } 198 211 if ($state eq "CUL2:") { $Ncul2++; next; } 199 212 if ($state eq "CUL3:") { $Ncul3++; next; } 200 } else { $Nfail ++; }213 } 201 214 } 202 215 }
Note:
See TracChangeset
for help on using the changeset viewer.
