Skip to content

Commit

Permalink
allow multiple convergence statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
Phlya authored and nvictus committed Sep 11, 2023
1 parent 36feb10 commit ead1e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cooler/cli/balance.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def balance(cool_uri, nproc, chunksize, mad_max, min_nnz, min_count, blacklist,
if nproc > 1:
pool.close()

if not stats['converged']:
if not np.all(stats['converged']):
logger.error('Iteration limit reached without convergence')
if convergence_policy == 'store_final':
logger.error('Storing final result. Check log to assess convergence.')
Expand Down

0 comments on commit ead1e83

Please sign in to comment.