bsb-arbor 6.0.3__py3-none-any.whl → 6.0.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of bsb-arbor might be problematic. Click here for more details.
- bsb_arbor/adapter.py +4 -2
- {bsb_arbor-6.0.3.dist-info → bsb_arbor-6.0.4.dist-info}/METADATA +1 -1
- {bsb_arbor-6.0.3.dist-info → bsb_arbor-6.0.4.dist-info}/RECORD +6 -6
- {bsb_arbor-6.0.3.dist-info → bsb_arbor-6.0.4.dist-info}/WHEEL +0 -0
- {bsb_arbor-6.0.3.dist-info → bsb_arbor-6.0.4.dist-info}/entry_points.txt +0 -0
- {bsb_arbor-6.0.3.dist-info → bsb_arbor-6.0.4.dist-info}/licenses/LICENSE +0 -0
bsb_arbor/adapter.py
CHANGED
|
@@ -204,7 +204,9 @@ class Population:
|
|
|
204
204
|
start = i
|
|
205
205
|
stop = i + 1
|
|
206
206
|
prev = i
|
|
207
|
+
ranges.append((start, stop))
|
|
207
208
|
pop._ranges = ranges
|
|
209
|
+
|
|
208
210
|
return pop
|
|
209
211
|
|
|
210
212
|
def _subpop_one(self, item):
|
|
@@ -524,7 +526,7 @@ class ArborAdapter(SimulatorAdapter):
|
|
|
524
526
|
|
|
525
527
|
def _all_bools(arr):
|
|
526
528
|
try:
|
|
527
|
-
return all(
|
|
529
|
+
return all(np.issubdtype(type(b), np.bool_) for b in arr)
|
|
528
530
|
except TypeError:
|
|
529
531
|
# Not iterable
|
|
530
532
|
return False
|
|
@@ -532,7 +534,7 @@ def _all_bools(arr):
|
|
|
532
534
|
|
|
533
535
|
def _all_ints(arr):
|
|
534
536
|
try:
|
|
535
|
-
return all(
|
|
537
|
+
return all(np.issubdtype(type(b), np.integer) for b in arr)
|
|
536
538
|
except TypeError:
|
|
537
539
|
# Not iterable
|
|
538
540
|
return False
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
bsb_arbor/__init__.py,sha256=1kJSMSgt1vnjllcKXRUfomu0XTczbqYkkRf-TjSQbP8,437
|
|
2
|
-
bsb_arbor/adapter.py,sha256=
|
|
2
|
+
bsb_arbor/adapter.py,sha256=AI7ONwro434QExib2NDcQ-WsgFruZFML_uXFFD4Iogw,19064
|
|
3
3
|
bsb_arbor/cell.py,sha256=V4JxsdwS_FNfQ_wRjnJH-kFVLMwipzLSHcYbf-VgP_c,2476
|
|
4
4
|
bsb_arbor/connection.py,sha256=1u3yLA7R0G3Rxxf0Zvw3AcBa242n8XeSVej_r8iXjXY,2446
|
|
5
5
|
bsb_arbor/device.py,sha256=5PD6nujSlTu74BonS5Ojp7LhopusQ4cDVEEAYg1aAMA,1752
|
|
@@ -8,8 +8,8 @@ bsb_arbor/devices/__init__.py,sha256=8PgEH4gktvNW7KywuFXIzZXsPuWayWt0BPuKz6sJyPA
|
|
|
8
8
|
bsb_arbor/devices/poisson_generator.py,sha256=PGcx1YQn6WoZ3yZGXbW0nF1gtDo1fC7KGnmFYaklR3s,1045
|
|
9
9
|
bsb_arbor/devices/probe.py,sha256=Dv0GiWxNUuiKRYg8wCik2xlQLvh5dJBE4e-v3-W2eLg,1732
|
|
10
10
|
bsb_arbor/devices/spike_recorder.py,sha256=xJ720Tg9EO71RIc54ZEN04UqUDNyyI5TliC1ZD5UHWc,1339
|
|
11
|
-
bsb_arbor-6.0.
|
|
12
|
-
bsb_arbor-6.0.
|
|
13
|
-
bsb_arbor-6.0.
|
|
14
|
-
bsb_arbor-6.0.
|
|
15
|
-
bsb_arbor-6.0.
|
|
11
|
+
bsb_arbor-6.0.4.dist-info/entry_points.txt,sha256=8z5oyflKGOBD2smUKyrUit-_2JqBs85g8rm5YOM8SYg,43
|
|
12
|
+
bsb_arbor-6.0.4.dist-info/licenses/LICENSE,sha256=ljOS4DjXvqEo5VzGfdaRwgRZPbNScGBmfwyC8PChvmQ,32422
|
|
13
|
+
bsb_arbor-6.0.4.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
14
|
+
bsb_arbor-6.0.4.dist-info/METADATA,sha256=HwlIA4iHM5wHgodoK4FAZC9MTsZJS2reyrArgnY43wI,1347
|
|
15
|
+
bsb_arbor-6.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|