Skip to content
Snippets Groups Projects
Commit 38a7532e authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Use strings for enum values

parent d98bc74e
Branches
Tags
No related merge requests found
...@@ -54,10 +54,10 @@ def try_get_metadata(path): ...@@ -54,10 +54,10 @@ def try_get_metadata(path):
'occ': m.group('occ'), 'occ': m.group('occ'),
'side': m.group('side'), 'side': m.group('side'),
'finger': m.group('finger'), 'finger': m.group('finger'),
'session': int(m.group('session')), 'session': str(int(m.group('session'))),
'attempt': int(m.group('attempt')), 'attempt': str(int(m.group('attempt'))),
'snap': int(m.group('snap')), 'snap': str(int(m.group('snap'))),
'cam': int(m.group('cam')), 'cam': str(int(m.group('cam'))),
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment