|
|
|
@ -115,23 +115,23 @@ def failed_drops_flowable(drops, missing, what):
@@ -115,23 +115,23 @@ def failed_drops_flowable(drops, missing, what):
|
|
|
|
|
def print_info_flowable(print_info): |
|
|
|
|
data = [ |
|
|
|
|
("Source Plate:", print_info["source"]), |
|
|
|
|
("Print Solutions:", f"{print_info['solutions']} different solutions"), |
|
|
|
|
("Print Solutions:", f"{print_info['solutions']} solutions"), |
|
|
|
|
("Target Substrate:", print_info["target"]), |
|
|
|
|
("Number of Fields:", f"{print_info['fields']} fields printed"), |
|
|
|
|
("Run Method:", print_info["run"]), |
|
|
|
|
("Voltage:", f"{print_info['voltage']} V"), |
|
|
|
|
("Pulse:", f"{print_info['pulse']} µs"), |
|
|
|
|
( |
|
|
|
|
"Humidity Setting:", |
|
|
|
|
f"{print_info['humidity']} (humidifier might be turned off)", |
|
|
|
|
), |
|
|
|
|
] |
|
|
|
|
# Table(data, colWidths=None, rowHeights=None, style=None, splitByRow=1, |
|
|
|
|
# repeatRows=0, repeatCols=0, rowSplitRange=None, spaceBefore=None, |
|
|
|
|
# spaceAfter=None) |
|
|
|
|
return Table(data, style=[ |
|
|
|
|
('TOPPADDING', (0, 0), (-1, -1), 1), |
|
|
|
|
('TOPPADDING', (0, 0), (-1, -1), 0), |
|
|
|
|
('RIGHTPADDING', (0, 0), (-1, -1), 7), |
|
|
|
|
('BOTTOMPADDING', (0, 0), (-1, -1), 1), |
|
|
|
|
('BOTTOMPADDING', (0, 0), (-1, -1), 0), |
|
|
|
|
('LEFTPADDING', (0, 0), (-1, -1), 0), |
|
|
|
|
('FONTSIZE', (0, 0), (-1, -1), 8), |
|
|
|
|
],hAlign='LEFT' |
|
|
|
|
) |
|
|
|
|
|
|
|
|
@ -158,7 +158,7 @@ def generate_report(log_files, drops, missing, environment, print_info):
@@ -158,7 +158,7 @@ def generate_report(log_files, drops, missing, environment, print_info):
|
|
|
|
|
|
|
|
|
|
if len(story) == 5: |
|
|
|
|
# no failed drop checks where reported |
|
|
|
|
story.append(Spacer(width=17 * cm, height=1 * cm)) |
|
|
|
|
story.append(Spacer(width=17 * cm, height=0.5 * cm)) |
|
|
|
|
story.append(Paragraph("No failed drop checks found.", style_n)) |
|
|
|
|
|
|
|
|
|
story.append(PageBreak()) |
|
|
|
|