Skip to content
Snippets Groups Projects
Commit b8eef73a authored by Larissa Glass's avatar Larissa Glass
Browse files

Display progress bar for main processing loop

parent 5e33bd56
No related branches found
No related tags found
1 merge request!9Display progress bar for main processing loop
......@@ -7,6 +7,7 @@ dependencies:
- matplotlib
- pandas
- pip
- tqdm
- flake8-docstrings
- mypy
- flake8
......
......@@ -12,6 +12,7 @@ requires-python = ">=3.7"
license = {text = "MIT"}
dependencies = [
"pandas",
"tqdm",
]
[project.urls]
......
......@@ -2,6 +2,8 @@ import logging
import numpy as np
import pandas as pd
from tqdm import tqdm
LOG = logging.getLogger(__name__)
......@@ -288,7 +290,7 @@ def sample_transcripts(
# Set up output file, write header once and append data in loop
write_header(output_annotations_file)
for _, row in transcripts.iterrows():
for _, row in tqdm(transcripts.iterrows()):
transcript_id = row["id"]
transcript_count = row["count"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment