Skip to content

Commit

Permalink
restore orginal searcch for organism
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledk2 committed Dec 17, 2024
1 parent 66fc167 commit 0cfb8b2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions omero_search_engine/api/v1/resources/resource_analyser.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,12 +340,12 @@ def prepare_search_results(results, size=0):
# please see (https://github.com/ome/omero_search_engine/issues/45)
#
# This will be checked later.
# if (
# resource == "image"
# and res["Attribute"]
# and res["Attribute"].lower() == "organism"
# ):
# continue
if (
resource == "image"
and res["Attribute"]
and res["Attribute"].lower() == "organism"
):
continue
row = {}
returned_results.append(row)
row["data_source"] = res["data_source"]
Expand Down

0 comments on commit 0cfb8b2

Please sign in to comment.