ManishThota commited on
Commit
db192ba
·
verified ·
1 Parent(s): b012810

Update src/utils.py

Browse files
Files changed (1) hide show
  1. src/utils.py +1 -1
src/utils.py CHANGED
@@ -45,7 +45,7 @@ def parse_annotations(annotations_list):
45
  for annotation in annotations_list:
46
  key, value = annotation.split(': ')
47
  if value == 'None':
48
- annotations_dict[key] = None
49
  else:
50
  annotations_dict[key] = int(value)
51
  return annotations_dict
 
45
  for annotation in annotations_list:
46
  key, value = annotation.split(': ')
47
  if value == 'None':
48
+ annotations_dict[key] = 'N/A'
49
  else:
50
  annotations_dict[key] = int(value)
51
  return annotations_dict