Commit d89f4013 authored by Jorge Navarro Muñoz's avatar Jorge Navarro Muñoz
Browse files

Another bugfix about banned_classes (none were being processed)

parent d4e1453b
......@@ -1390,7 +1390,7 @@ if __name__=="__main__":
for cluster in clusters:
product = group_dct[cluster][0]
predicted_class = sort_bgc(product)
if predicted_class in valid_classes:
if predicted_class.lower() in valid_classes:
BGC_classes[predicted_class].append(cluster)
# possibly add hybrids to 'pure' classes
......@@ -1478,7 +1478,7 @@ if __name__=="__main__":
for cluster in sampleClusters:
product = group_dct[cluster][0]
predicted_class = sort_bgc(product)
if predicted_class in valid_classes:
if predicted_class.lower() in valid_classes:
BGC_classes[predicted_class].append(cluster)
# possibly add hybrids to 'pure' classes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment