dariakern commited on
Commit
9bc2273
·
verified ·
1 Parent(s): c071b22

Update Chicks4FreeID.py

Browse files
Files changed (1) hide show
  1. Chicks4FreeID.py +1 -1
Chicks4FreeID.py CHANGED
@@ -197,7 +197,7 @@ class Ontology:
197
  if "classifications" in tool:
198
  for classification in tool["classifications"]:
199
  if classification["instructions"] == class_name and (tool_name is None or tool_name == tool["name"]):
200
- result.extend([option["label"] for option in classification["options"] if not (drop_unkown and option["label"] == "Unknown") and option["label" not in result]])
201
  return list(result)
202
 
203
  def get_color_map(self):
 
197
  if "classifications" in tool:
198
  for classification in tool["classifications"]:
199
  if classification["instructions"] == class_name and (tool_name is None or tool_name == tool["name"]):
200
+ result.extend([option["label"] for option in classification["options"] if not (drop_unkown and option["label"] == "Unknown") and option["label"] not in result])
201
  return list(result)
202
 
203
  def get_color_map(self):