Skip to content

Commit

Permalink
fix subset_hash check in fetching evalutations
Browse files Browse the repository at this point in the history
  • Loading branch information
KasunAmare committed Dec 13, 2023
1 parent ad8f403 commit 5700c40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/triage/component/postmodeling/model_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ def get_evaluations(self, metrics=None, matrix_uuid=None, subset_hash=None):

if subset_hash is not None:
where_clause += f" AND subset_hash={subset_hash}"
else:
where_clause += f" AND subset_hash=''"

if metrics is not None:
where_clause += " AND ("
Expand Down

0 comments on commit 5700c40

Please sign in to comment.