Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 1, 2024
1 parent f4e494e commit 5f8a992
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions omero_search_engine/validation/results_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ def get_results_db(self, operator=None):
return
elif self.type == "complex":
if "_value_only" in self.name:
self.postgres_results = self.get_sql_value_only(self.clauses)
self.postgres_results = self.get_sql_value_only(self.clauses)
elif self.name == "query_image_or":
self.postgres_results = self.get_or_sql(self.clauses)
self.postgres_results = self.get_or_sql(self.clauses)
elif self.name == "query_image_and":
self.postgres_results = self.get_and_sql(self.clauses)
else:
Expand Down Expand Up @@ -1157,7 +1157,7 @@ def validate_search_by_value_conds(vals=None, operator=None):

print(len(postgres_results))
print(len(z))


"""
def set_ownership(resource , name, value, owner_id=None, group_id=None):
Expand Down

0 comments on commit 5f8a992

Please sign in to comment.