def _load(self, load_dict):
        if self.v_locked:
            raise pex.ParameterLockedException('Parameter `%s` is locked!' % self.v_full_name)

        try:
            data_table = load_dict['data' + BrianParameter.IDENTIFIER]

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

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

                self._data = eval(valstr)


                if load_dict in 'explored_data' + BrianParameter.IDENTIFIER:
                    explore_table = load_dict['explored_data' + BrianParameter.IDENTIFIER]

                    valstr_col = explore_table['data']
                    explore_list = []
                    for valstr in valstr_col:
                        brian_quantity = eval(valstr)
                        explore_list.append(brian_quantity)

                    self._explored_range = tuple(explore_list)
                    self._explored = True

            elif self._storage_mode == BrianParameter.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 = value * unit

                if 'explored_data' + BrianParameter.IDENTIFIER in load_dict:
                    explore_table = load_dict['explored_data' + BrianParameter.IDENTIFIER]

                    value_col = explore_table['value']
                    explore_list = []
                    for value in value_col:
                        brian_quantity = value * unit
                        explore_list.append(brian_quantity)

                    self._explored_range = tuple(explore_list)
                    self._explored = True

        except KeyError:
            super(BrianParameter, self)._load(load_dict)

        self._default = self._data
        self._locked = True
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/brian/parameter.py/BrianParameter._load/swapped operands of `in`