Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
holubp committed Nov 23, 2023
1 parent 31181dd commit d399972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter-mission-cancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def __call__(self, parser, namespace, values, option_string=None):
pediatric = True
if 'age_high' in collection and collection['age_high'] < age_max:
pediatricOnly = True
log.debug("Pediatric-only collection detected: %s, age range: %d-%d, diags: %s"%(collection['id'], collection.get('age_low'), collection.get('age_high'), diags + diag_ranges))
log.debug("Pediatric-only collection detected: %s, age range: %d-%d, diags: %s"%(collection['id'], (collection.get('age_low') if 'age_low' in collection else 0), collection.get('age_high'), diags + diag_ranges))

if cancer_diag:
log.info(f"Cancer collection detected: {collection['id']}")
Expand Down

0 comments on commit d399972

Please sign in to comment.