Skip to content

Commit

Permalink
Re-run classifier on every get_predictions call
Browse files Browse the repository at this point in the history
  • Loading branch information
mariya committed Oct 16, 2024
1 parent 5586ead commit ad8f7d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/allium/gex_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,5 @@ def predict(self, gex):
signature_mode = 'all')

def get_predictions(self, x, pheno=None, json=False):
if not self._predictions:
self.predict(x)

self.predict(x)
return super().get_predictions(x, pheno, json)

0 comments on commit ad8f7d1

Please sign in to comment.