Skip to content

Commit

Permalink
Fix report not outputting matrix/annotation files on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
axdanbol committed Nov 10, 2023
1 parent 71d3367 commit e647b57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/algorithm/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def set_success(self, data: anndata.AnnData):

def set_failure(self, cause: t.Any):
self.status = Status.FAILURE
self.data = anndata.AnnData()
self.failure_cause = cause
return self

Expand Down

0 comments on commit e647b57

Please sign in to comment.