Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledk2 committed Sep 23, 2024
1 parent 895158f commit 3ce20ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omero_search_engine/validation/results_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,13 @@ def get_results_searchengine(self, operator=None):
"""
if self.type == "buckets":
if self.name:
print ("11111111111111111111111111")
res = get_key_values_return_contents(
self.name, "image", data_source=self.data_source, csv=False
)
self.searchengine_results = json.loads(res.data)
elif self.value:
print("2222222222222222222222222222222")

self.searchengine_results = search_value_for_resource(
"image", self.value, self.data_source
Expand Down Expand Up @@ -925,7 +927,6 @@ def get_omero_stats():
with open(stats_file, "w") as f:
f.write(report)


def check_number_images_sql_containers_using_ids(data_source):
"""
This method tests the number of images inside each container
Expand Down Expand Up @@ -1032,7 +1033,6 @@ def check_number_images_sql_containers_using_ids(data_source):
)
return dd


def get_no_images_sql_containers(data_source, write_report=True):
"""
This method tests the number of images inside each container
Expand Down

0 comments on commit 3ce20ae

Please sign in to comment.