Changeset 718 for trunk/src/nest/simulator.py
- Timestamp:
- 03/02/10 10:37:15 (2 years ago)
- Files:
-
- 1 modified
-
trunk/src/nest/simulator.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/nest/simulator.py
r713 r718 35 35 CHECK_CONNECTIONS = False 36 36 recorder_list = [] 37 connection_managers = [] 37 38 38 39 logger = logging.getLogger("PyNN") … … 158 159 try: 159 160 cell_gids = nest.Create(nest_model, n) 160 except nest.NESTError, errmsg: 161 raise errors.InvalidModelError(errmsg) 161 except nest.NESTError, err: 162 if "UnknownModelName" in err.message and "cond" in err.message: 163 raise errors.InvalidModelError("%s Have you compiled NEST with the GSL (Gnu Scientific Library)?" % err) 164 raise errors.InvalidModelError(err) 162 165 if cell_parameters: 163 166 try: … … 257 260 `parent` -- the parent `Projection`, if any. 258 261 """ 262 global connection_managers 259 263 self.sources = [] 260 264 if synapse_model is None: … … 268 272 assert parent.plasticity_name == self.synapse_model 269 273 self._connections = None 274 connection_managers.append(self) 270 275 271 276 def __getitem__(self, i):
