bella-companion 0.0.13__py3-none-any.whl → 0.0.14__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.
- bella_companion/fbd_empirical/run_beast.py +4 -2
- {bella_companion-0.0.13.dist-info → bella_companion-0.0.14.dist-info}/METADATA +1 -1
- {bella_companion-0.0.13.dist-info → bella_companion-0.0.14.dist-info}/RECORD +5 -5
- {bella_companion-0.0.13.dist-info → bella_companion-0.0.14.dist-info}/WHEEL +0 -0
- {bella_companion-0.0.13.dist-info → bella_companion-0.0.14.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import json
|
|
2
2
|
import os
|
|
3
|
-
from itertools import
|
|
3
|
+
from itertools import product
|
|
4
4
|
from pathlib import Path
|
|
5
5
|
|
|
6
6
|
import numpy as np
|
|
@@ -14,7 +14,9 @@ from bella_companion.utils import submit_job
|
|
|
14
14
|
|
|
15
15
|
def _get_migration_rates_init(types: list[str], init_rate: float = 1) -> str:
|
|
16
16
|
mus: list[float] = []
|
|
17
|
-
for t1, t2 in
|
|
17
|
+
for t1, t2 in product(types, types):
|
|
18
|
+
if t1 == t2:
|
|
19
|
+
continue
|
|
18
20
|
traits1 = np.array(list(map(int, t1.split("_"))))
|
|
19
21
|
traits2 = np.array(list(map(int, t2.split("_"))))
|
|
20
22
|
mus.append(init_rate if np.sum(np.abs(traits1 - traits2)) == 1 else 0)
|
|
@@ -5,7 +5,7 @@ bella_companion/fbd_empirical/data/change_times.csv,sha256=tedobHbaY7-6M3V6F6HSq
|
|
|
5
5
|
bella_companion/fbd_empirical/data/traits.csv,sha256=cxNKYmgtBCKHsm9qnOpS29Rkx9cQKe0oxpgaXSIukJg,5422
|
|
6
6
|
bella_companion/fbd_empirical/data/trees.nwk,sha256=JAsdfGhTIzGmJz6g6-0s5SVfqNuxawOMc9gbt0srue4,539385
|
|
7
7
|
bella_companion/fbd_empirical/results.py,sha256=0FENY5EpgNQ6rwPsEiOT2ZEO5oBbIAK6TzPvk11SDnk,3116
|
|
8
|
-
bella_companion/fbd_empirical/run_beast.py,sha256=
|
|
8
|
+
bella_companion/fbd_empirical/run_beast.py,sha256=daDuRgkVlXTZdjtoanNzgQpBw8uXv1D7hoivCnhLM6U,3265
|
|
9
9
|
bella_companion/fbd_empirical/summarize_logs.py,sha256=OoT43DMjim9o4qsjYCgGKnBKp3dHXzVP6sVtzqR8lMQ,955
|
|
10
10
|
bella_companion/simulations/__init__.py,sha256=ShYRdp1iSjnS_SzcsH-8jbqXz6P1nyRQZqAtPZJCMVE,454
|
|
11
11
|
bella_companion/simulations/features.py,sha256=DZOBpJGlQ0UinqUZYbEtoemZ2eQGVLV_i-DfpW31qJI,104
|
|
@@ -35,7 +35,7 @@ bella_companion/utils/__init__.py,sha256=UtMwPK9dWf9NAl0ic8CSsgdW7aSm-5J49OqgvD7
|
|
|
35
35
|
bella_companion/utils/beast.py,sha256=TBa0cLklX1_tXqoQE4LRYvds7mLg_9fS2-6U6OHENHo,2184
|
|
36
36
|
bella_companion/utils/explain.py,sha256=uP7HPyn2YiykAI69BQV3RooDpC6qKoCLXfp3Uibp4zk,1475
|
|
37
37
|
bella_companion/utils/slurm.py,sha256=v5DaG7YHVyK8KRFptgGDC6I8jxEhyJuMVK9N08pZSAI,1812
|
|
38
|
-
bella_companion-0.0.
|
|
39
|
-
bella_companion-0.0.
|
|
40
|
-
bella_companion-0.0.
|
|
41
|
-
bella_companion-0.0.
|
|
38
|
+
bella_companion-0.0.14.dist-info/METADATA,sha256=TqkINLE8EFexOUFK0E1rNHoZHQgLgMsPZa7I_D2hGAI,577
|
|
39
|
+
bella_companion-0.0.14.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
40
|
+
bella_companion-0.0.14.dist-info/entry_points.txt,sha256=rSeKoAhmjnQqAYFcXBv0gAM2ViJfJe0D8_dD-fWrXeg,50
|
|
41
|
+
bella_companion-0.0.14.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|