Skip to content

Commit 46a4a03

Browse files
committed
fixing type error in comparisons return report method
1 parent 223550e commit 46a4a03

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

code/utils/comparison_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,8 @@ def _return_report(self):
9898
problematic_boost_ids = boost_id_counts[boost_id_counts > 1].index.tolist()
9999

100100
if problematic_boost_ids:
101-
logging.critical(f"Found boost_id(s) with multiple lab_ids: {', '.join(problematic_boost_ids)}. "
101+
logging.critical(f"Found boost_id(s) with multiple lab_ids: {', '.join(map(str, problematic_boost_ids))}. "
102102
"These entries will be removed from processing.")
103-
# Remove rows with these problematic boost_ids from the dataframe.
104103
df = df[~df['boost_id'].isin(problematic_boost_ids)]
105104

106105
# Identify and separate duplicate rows based on any column.

0 commit comments

Comments
 (0)