Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yavyx committed Nov 8, 2024
1 parent ea1da86 commit e69f63c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/clinical_etl/mohschemav3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit e69f63c

Please sign in to comment.