Skip to content

Commit

Permalink
deleting the name contr (3d array, potentially quite big)
Browse files Browse the repository at this point in the history
  • Loading branch information
acycliq committed Mar 19, 2024
1 parent ee443d9 commit f956078
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pciSeq/src/core/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ def cell_to_cellType(self):
contr = utils.negBinLoglik(cgc, self.config['rSpot'], pNegBin)
wCellClass = np.sum(contr, axis=1) + self.cellTypes.log_prior
pCellClass = softmax(wCellClass, axis=1)
del contr

self.cells.classProb = pCellClass

Expand Down

0 comments on commit f956078

Please sign in to comment.