Skip to content

Commit

Permalink
Add AnnData to when clause
Browse files Browse the repository at this point in the history
  • Loading branch information
bistline committed Aug 29, 2024
1 parent facf6d9 commit 71015e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/delete_queue_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def delete_differential_expression_results(study:, study_file:)
when 'Cluster'
cluster = ClusterGroup.find_by(study:, study_file: study_file)
results = DifferentialExpressionResult.where(study:, cluster_group: cluster)
when 'Expression Matrix', 'MM Coordinate Matrix'
when 'Expression Matrix', 'MM Coordinate Matrix', 'AnnData'
results = DifferentialExpressionResult.where(study:, matrix_file_id: study_file.id)
when 'Differential Expression'
results = DifferentialExpressionResult.where(study_file: object)
Expand Down

0 comments on commit 71015e4

Please sign in to comment.