Skip to content

Commit 3c98c4a

Browse files
committed
add print statements
1 parent 0b5cadb commit 3c98c4a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

1.generate-profiles/1.aggregate.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,19 @@ def handle_excepthook(exc_type, exc_value, exc_traceback):
118118
if site_file.exists():
119119
site_df = read_csvs_with_chunksize(site_file, sep=",")
120120
single_cell_df.append(site_df)
121+
print(f"Appended {site}")
122+
logging.info(f"Appended {site}")
121123
else:
122124
warnings.warn(
123125
f"{site_file} does not exist. There must have been an error in processing"
124126
)
125127
logging.warning(f"{site_file} does not exist.")
126128

129+
print(f"Making single cell dataframe.")
130+
logging.info(f"Making single cell dataframe.")
127131
single_cell_df = pd.concat(single_cell_df, axis="rows").reset_index(drop=True)
132+
print(f"Made single cell dataframe.")
133+
logging.info(f"Made single cell dataframe.")
128134

129135
# Perform the aggregation based on the defined levels and columns
130136
aggregate_output_dir.mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)