Skip to content

Commit caf7fe8

Browse files
Handle dictionary return value from check_pool_errors function
1 parent fc4d00b commit caf7fe8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/qc_deliver.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ def deliver_data(fcid, path, lane_num, group, scheduled_date):
117117
def check_qc_and_deliver(path, summary_report_path):
118118

119119
stats = parse_summary(summary_report_path)
120-
success, error = check_pool_errors(stats)
120+
result = check_pool_errors(stats)
121+
success = result.get("success")
122+
error = result.get("message")
121123

122124
if success:
123125
print("qc_delivery.py: Passed QC")

0 commit comments

Comments
 (0)