Skip to content

Commit 4bacd57

Browse files
authored
Merge pull request #5 from ImageMarkup/add-acquisition
2 parents a619c9f + bba7822 commit 4bacd57

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

isic_metadata/__init__.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,15 @@
130130
}
131131
)
132132

133-
# age
133+
for field in FIELD_REGISTRY.keys():
134+
if field in [
135+
'blurry',
136+
'color_tint',
137+
'dermoscopic_type',
138+
'hairy',
139+
'image_type',
140+
'marker_pen',
141+
]:
142+
FIELD_REGISTRY[field]['type'] = 'acquisition'
143+
else:
144+
FIELD_REGISTRY[field]['type'] = 'clinical'

0 commit comments

Comments
 (0)