diff --git a/OCR/ocr/services/phdc_converter/builder.py b/OCR/ocr/services/phdc_converter/builder.py index 8c8f50b6..c2aeba85 100644 --- a/OCR/ocr/services/phdc_converter/builder.py +++ b/OCR/ocr/services/phdc_converter/builder.py @@ -644,7 +644,7 @@ def _build_patient(self, patient: Patient) -> ET.Element: ) patient_data.append(v) else: - logging.warning(f"Race code {patient.race_code} not found in " "the OMB classification.") + logging.warning(f"Race code {patient.race_code} not found in the OMB classification.") if patient.ethnic_group_code is not None: if patient.ethnic_group_code in ethnicity_code_and_mapping: @@ -658,7 +658,7 @@ def _build_patient(self, patient: Patient) -> ET.Element: ) patient_data.append(v) else: - logging.warning(f"Ethnic group code {patient.ethnic_group_code} not " "found in OMB classification.") + logging.warning(f"Ethnic group code {patient.ethnic_group_code} not found in OMB classification.") return patient_data