Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
gracesong312 committed Oct 3, 2023
1 parent f5b4b6a commit ffacca0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/pygama/flow/data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,6 @@ def explode_evt_cols(el: pd.DataFrame, tier_table: Table):
table_length = len(f_entries)

log.debug(f"will load new columns {field_mask}")
# print(f"will load new columns {field_mask}")

# loop through each table in entry list and
# loop through each level we're asked to load from
Expand All @@ -1189,12 +1188,9 @@ def explode_evt_cols(el: pd.DataFrame, tier_table: Table):
# loop over tiers in the level
for tier in self.tiers[level]:
if tb not in col_tiers[file]["tables"][tier]:
# print(f"Cannot find table {tb} in col_tiers tier {tier}")
log.debug(f"Cannot find table {tb} in col_tiers tier {tier}")
continue

# print(
# f"...for stream '{self.filedb.get_table_name(tier, tb)}' (at {level} level)"
# )

log.debug(
f"...for stream '{self.filedb.get_table_name(tier, tb)}' (at {level} level)"
)
Expand Down Expand Up @@ -1589,12 +1585,10 @@ def get_tiers_for_col(
for tier in self.tiers[level]:
col_tiers[file]["tables"][tier] = []
tier_col_idx = self.filedb.df.loc[file, f"{tier}_col_idx"]
# print(f"{tier}_col_idx: {tier_col_idx}")
if tier_col_idx is not None:
# Loop over tables
for i in range(len(tier_col_idx)):
col_idx = self.filedb.df.loc[file, f"{tier}_col_idx"][i]
# print(f"col_idx: {col_idx}")
if col_idx in col_inds:
col_tiers[file]["tables"][tier].append(
self.filedb.df.loc[file, f"{tier}_tables"][i]
Expand Down

0 comments on commit ffacca0

Please sign in to comment.