Skip to content

Commit

Permalink
bug fix: updated call to run_vi
Browse files Browse the repository at this point in the history
  • Loading branch information
tyjo committed Jul 23, 2021
1 parent 36eb7a8 commit 1b9d829
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/coptr/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.1"
__version__ = "1.1.2"
4 changes: 2 additions & 2 deletions src/coptr/read_assigner.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def run_vi(self, tol=1e-3):

logger.debug("Iteration: %d; elbo: %.3G", it, elbo)

def assign_reads(self, verbose=False):
def assign_reads(self):
"""Compute read assignments.
Return
Expand All @@ -123,7 +123,7 @@ def assign_reads(self, verbose=False):
A 1D array. Each entry gives a genome id that is
the genome assignment for each read.
"""
self.run_vi(verbose=verbose)
self.run_vi()
self.phi = csr_matrix(self.phi)
assignments = []
for i in range(self.nreads):
Expand Down

0 comments on commit 1b9d829

Please sign in to comment.