From e69f63c376359a363b4264a1812aa3f6b122c2f1 Mon Sep 17 00:00:00 2001 From: Javier Castillo-Arnemann Date: Thu, 7 Nov 2024 17:12:45 -0800 Subject: [PATCH] cleanup --- src/clinical_etl/mohschemav3.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/clinical_etl/mohschemav3.py b/src/clinical_etl/mohschemav3.py index abafc8f..e1cd6c1 100644 --- a/src/clinical_etl/mohschemav3.py +++ b/src/clinical_etl/mohschemav3.py @@ -212,8 +212,6 @@ def validate_donors(self, map_json): diagnoses_dates = {} for diagnosis in map_json["primary_diagnoses"]: diagnosis_date = None - # if "date_of_diagnosis" not in diagnosis: #and diagnosis["date_of_diagnosis"] in [None, '']: - # self.warn('There is no date of diagnosis, cannot calculate any date intervals') if "date_of_diagnosis" in diagnosis and diagnosis["date_of_diagnosis"] not in [None, '']: if "dict" in str(type(diagnosis["date_of_diagnosis"])): diagnosis_date = diagnosis["date_of_diagnosis"]["month_interval"]