|
|
|
@ -64,7 +64,10 @@ def produce(match_all):
|
|
|
|
|
is_matched = 1 if ii.lower() == los.los[lo]['model'].lower() else 0 |
|
|
|
|
# [July 1] some lo doesn't have that data, blank then |
|
|
|
|
july_1_col = step_3_data[lo] if lo in step_3_data else '' |
|
|
|
|
r = [july_1_col, lo, is_matched, los.los[lo]['weight']] |
|
|
|
|
no_of_tree = '4Ts' if july_1_col == '4/4' else \ |
|
|
|
|
'3Ts' if july_1_col == '3/4' else \ |
|
|
|
|
'2Ts' if july_1_col == '2/4' else '1Ts' |
|
|
|
|
r = [no_of_tree, lo, is_matched, los.los[lo]['weight']] |
|
|
|
|
try: |
|
|
|
|
r += weight[lo] |
|
|
|
|
rows.append(r) # this will append only LO w/ weight |
|
|
|
|