@@ -35,36 +35,12 @@ def build_mechanisms():
3535 return mech_path
3636
3737
38- class Cell (int ): # (, common.IDMixin):
38+ class Cell (int ):
3939
4040 def __init__ (self , n ):
4141 """Create an ID object with numerical value `n`."""
42- #int.__init__(n)
43- #common.IDMixin.__init__(self)
4442 self .gid = n
45- #self.morph = None #morph
46- #self.decor = None # decor
47- #self.labels = None # labels
4843 self .local = True
49- #self.decor.place('"root"', arbor.threshold_detector(-10), f"detector-{self.gid}")
50-
51- # def __lt__(self, other):
52- # return self.gid < other.gid
53-
54- # def __lte__(self, other):
55- # return self.gid <= other.gid
56-
57- # def __gt__(self, other):
58- # return self.gid > other.gid
59-
60- # def __gte__(self, other):
61- # return self.gid >= other.gid
62-
63- # def __eq__(self, other):
64- # return self.gid == other.gid
65-
66- # def __ne__(self, other):
67- # return self.gid != other.gid
6844
6945
7046class NetworkRecipe (arbor .recipe ):
@@ -206,7 +182,8 @@ def run(self, simtime):
206182 hints = {}
207183 decomp = arbor .partition_load_balance (recipe , self .arbor_context , hints )
208184 self .arbor_sim = arbor .simulation (recipe , self .arbor_context , decomp , self .rng_seed )
209- self .arbor_sim .record (arbor .spike_recording .all ) # todo: for now record all, but should be controlled by population.record()
185+ self .arbor_sim .record (arbor .spike_recording .all )
186+ # todo: for now record all, but should be controlled by population.record()
210187 for recorder in self .recorders :
211188 recorder ._set_arbor_sim (self .arbor_sim )
212189 self .t += simtime
0 commit comments