def _load(self, load_dict):

        for key in load_dict:
            if BrianResult.IDENTIFIER in key:
                data_table = load_dict[key]

                if data_table in 'unit':
                    self._storage_mode = BrianResult.FLOAT_MODE
                else:
                    self._storage_mode = BrianResult.STRING_MODE

                new_key = key.split(BrianResult.IDENTIFIER)[0]

                if self._storage_mode == BrianResult.STRING_MODE:
                    valstr = data_table['data'][0]

                    self._data[new_key] = eval(valstr)

                elif self._storage_mode == BrianResult.FLOAT_MODE:

                    # Recreate the brain units from the vale as float and unit as string:
                    unit = eval(data_table['unit'][0])
                    value = data_table['value'][0]
                    self._data[new_key] = value * unit
            else:
                self._data[key] = load_dict[key]
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/brian/parameter.py/BrianResult._load/swapped operands of `in`