Skip to content

Commit

Permalink
fix: instruction order for progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
weiju committed Aug 30, 2024
1 parent 602d151 commit 0a595ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miner/miner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1291,9 +1291,9 @@ def regulonExpansion(task):
reference_index = np.array(eigengenes.index).astype(str)
expanded_modules = {key:regulonModules[key] for key in regulonModules.keys()}
ct = -1
genes = list(set(list(tfbsdbGenes.keys()))&set(expressionData.index))[start:stop]
printProgressBar(0, len(genes), prefix='Progress:', suffix='Complete',
length=50)
genes = list(set(list(tfbsdbGenes.keys()))&set(expressionData.index))[start:stop]
for gene in genes:
ct += 1
#if ct%1000 == 0:
Expand Down

0 comments on commit 0a595ad

Please sign in to comment.