add check for missing clades
@@ -151,6 +151,9 @@ def check_dates(data, today):
#suspicious_sample_date[strain] = date
clade = data[id]["Nextstrain_clade"]
+ if clade == "":
+ print("Clade missing for sequence " + id)
+ else:
if clade not in clade_dates:
print("Unknown clade " + clade + " for sequence " + id)
else:
