mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 13:07:08 +00:00
Handle projects for which there is (yet) no QC data
This commit is contained in:
@@ -53,7 +53,13 @@ def qc_item(item, prefixes = [], index = None):
|
|||||||
qc_item(child, [*prefixes, name], subindex)
|
qc_item(child, [*prefixes, name], subindex)
|
||||||
|
|
||||||
def qc_data (cursor, prefix):
|
def qc_data (cursor, prefix):
|
||||||
qc = db.get_info('qc', cursor)[0]
|
qc = db.get_info('qc', cursor)
|
||||||
|
if qc is not None:
|
||||||
|
qc = qc[0]
|
||||||
|
else:
|
||||||
|
print("No QC data found");
|
||||||
|
return
|
||||||
|
|
||||||
#print("QC", qc)
|
#print("QC", qc)
|
||||||
index = 0
|
index = 0
|
||||||
for item in qc["results"]:
|
for item in qc["results"]:
|
||||||
|
|||||||
Reference in New Issue
Block a user