[importers] age was inserted twice
authorDimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
Mon, 22 Jul 2013 15:27:24 +0200
changeset 358 d60ca87c2f56
parent 357 37d762ca7246
child 359 c1deb7cf862c
[importers] age was inserted twice
importers/localizer.py
--- a/importers/localizer.py	Mon Jul 22 12:14:16 2013 +0200
+++ b/importers/localizer.py	Mon Jul 22 15:27:24 2013 +0200
@@ -61,7 +61,6 @@
     # keep it for later use: store as an attribute of Assessment
     age_for_assessment = info['age']
     data['gender'] = GENDER_MAP.get(info['sex'], GENDER_MAP['3'])
-    data['age'] = info['age']
     data['handedness'] = HANDEDNESS_MAP.get(info['laterality'],
                                             HANDEDNESS_MAP['Unknown'])
     for score in SCORE_TYPES: