bella-companion 0.0.5__py3-none-any.whl → 0.0.6__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 bella-companion might be problematic. Click here for more details.

bella_companion/cli.py CHANGED
@@ -23,19 +23,19 @@ def main():
23
23
  subparsers = parser.add_subparsers(dest="command", required=True)
24
24
 
25
25
  subparsers.add_parser(
26
- "generate-simulation-data", help="Generate simulated data."
26
+ "sim-data", help="Generate synthetic simulation datasets."
27
27
  ).set_defaults(func=generate_data)
28
28
 
29
29
  subparsers.add_parser(
30
- "beast-run-simulations", help="Run BEAST2 on simulated data."
30
+ "sim-run", help="Run BEAST2 analyses on simulation datasets."
31
31
  ).set_defaults(func=run_beast)
32
32
 
33
33
  subparsers.add_parser(
34
- "summarize-simulation-logs", help="Summarize BEAST2 logs for simulations data."
34
+ "sim-summary", help="Summarize BEAST2 log outputs for simulations."
35
35
  ).set_defaults(func=summarize_logs)
36
36
 
37
37
  subparsers.add_parser(
38
- "generate-simulation-figures", help="Generate figures for simulations data."
38
+ "sim-figures", help="Generate plots and figures from simulation results."
39
39
  ).set_defaults(func=generate_figures)
40
40
 
41
41
  args = parser.parse_args()
@@ -11,7 +11,7 @@ import src.config as cfg
11
11
  from src.utils import run_sbatch
12
12
 
13
13
  THIS_DIR = Path(__file__).parent
14
-
14
+ AADD LAYERS RANGE
15
15
 
16
16
  def main():
17
17
  output_dir = cfg.BEAST_OUTPUTS_DIR / "fbd-empirical"
@@ -66,6 +66,7 @@ def run_beast():
66
66
  [
67
67
  *base_command,
68
68
  f'-D nodes="{" ".join(map(str, nodes))}"',
69
+ f'-D layersRange="{",".join(map(str, range(len(nodes) + 1)))}"',
69
70
  str(inference_configs_dir / "MLP.xml"),
70
71
  ]
71
72
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bella-companion
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary:
5
5
  Author: gabriele-marino
6
6
  Author-email: gabmarino.8601@gmail.com
@@ -1,5 +1,5 @@
1
1
  bella_companion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- bella_companion/cli.py,sha256=fjCIIsguBUnm_u1dyuo42INGTDa5lh8laiW1yZN65So,1178
2
+ bella_companion/cli.py,sha256=5GbOREOkW0C1Dt43i7Y-Xy1jTr8Tx779is-uQ1nlnUc,1162
3
3
  bella_companion/fbd_empirical/data/body_mass.csv,sha256=-UkKNtm9m3g4PjY3BcfdP6z5nL_I6p9cq6cgZ-bWKI8,30360
4
4
  bella_companion/fbd_empirical/data/change_times.csv,sha256=zmc9_z91-XMwKyIoP9v9dVlLcf4MeIHkQiHLjoMriOo,120
5
5
  bella_companion/fbd_empirical/data/sampling_change_times.csv,sha256=Gwi9RcMFy89RyvfxKVZ_MoKVRHOZLuwB_3LEaq8asMQ,32
@@ -7,7 +7,7 @@ bella_companion/fbd_empirical/data/trees.nwk,sha256=zhvLvPLZelhMThVmvOENkmi3p2aP
7
7
  bella_companion/fbd_empirical/figure.py,sha256=4paOXCB1EcxuHzLPxDSleQU2AQ_ndTedtzS1ugiKICs,1018
8
8
  bella_companion/fbd_empirical/notbooks.ipynb,sha256=O45kmz0lZENRDFbKXEWPsIKATfF5GVeS5tCYmrGLnqk,83326
9
9
  bella_companion/fbd_empirical/params.json,sha256=hU23LniClZL_GSBAxIEJUJgMa93AM8zdtFOq6mt3vkI,311
10
- bella_companion/fbd_empirical/run_beast.py,sha256=2sV2UmxOfWmbueiU6D0p3lueMYiZyIkSKYoblTMrYuA,1935
10
+ bella_companion/fbd_empirical/run_beast.py,sha256=pUX4f77kQ_F_tJwRY7Sfz8NUql0sY4VKE1i8pZGte6Y,1952
11
11
  bella_companion/fbd_empirical/summarize_logs.py,sha256=O6rhE606Wa98a8b1KKlLPjUOro1pfyqVTLdQksQMG0g,1439
12
12
  bella_companion/simulations/__init__.py,sha256=EBZAcI8skNPKjrA7CjrqH9ea7DTntmydAD0RqsxNUMM,352
13
13
  bella_companion/simulations/features.py,sha256=DZOBpJGlQ0UinqUZYbEtoemZ2eQGVLV_i-DfpW31qJI,104
@@ -22,7 +22,7 @@ bella_companion/simulations/figures/fbd_no_traits_results.py,sha256=O6hx_OZVSHmW
22
22
  bella_companion/simulations/figures/scenarios.py,sha256=OKh9_-ZvzNgWsO3-Vd0Aw3ndjVf76i_OuCvsKI-5r2s,2795
23
23
  bella_companion/simulations/generate_data.py,sha256=H8OV4ZlTGZB-jXaROTPmOsK3UxRiU-GrX40l-shliw8,728
24
24
  bella_companion/simulations/generate_figures.py,sha256=layMgoj3Bfl78Ceb1oE7YirAQ8zhjDyD9IrxDRXf6go,657
25
- bella_companion/simulations/run_beast.py,sha256=xOuwE0w4IbOqqCSym6kHsAEhfGT2mWdA-jmUZuviMbc,3121
25
+ bella_companion/simulations/run_beast.py,sha256=Sw9wKNe1VlGNvYr-yiYv3LqUYVlcjcMAz_9Pzr-xyL0,3214
26
26
  bella_companion/simulations/scenarios/__init__.py,sha256=3Kl1lKcFpfb3vLX64DmSW4XCF5kXU1ZoHtstFH-ZIzU,876
27
27
  bella_companion/simulations/scenarios/common.py,sha256=_ddaSuTvEVdttGkXB4HPc2B7IB1F_GBOCW3cVOPZ-ZM,807
28
28
  bella_companion/simulations/scenarios/epi_multitype.py,sha256=GWGIiqvYwX_FrT_3RXkZKYGDht9nZ7ceHRBKUvXDPnA,2432
@@ -36,7 +36,7 @@ bella_companion/utils/beast.py,sha256=5Vsv98VTE9HrY56WzUSMECjD_rIPxHTMRMD1ZzmA6w
36
36
  bella_companion/utils/explain.py,sha256=uP7HPyn2YiykAI69BQV3RooDpC6qKoCLXfp3Uibp4zk,1475
37
37
  bella_companion/utils/plots.py,sha256=dB_GiJ1HGrZ93cqODz6kB-HeDRPwlm2MkMe9rJZGnfs,3117
38
38
  bella_companion/utils/slurm.py,sha256=v5DaG7YHVyK8KRFptgGDC6I8jxEhyJuMVK9N08pZSAI,1812
39
- bella_companion-0.0.5.dist-info/METADATA,sha256=IIRIUzr8WcpcLOApct-WoFLrEBkzAxhjXPIY6HucbOk,576
40
- bella_companion-0.0.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
41
- bella_companion-0.0.5.dist-info/entry_points.txt,sha256=rSeKoAhmjnQqAYFcXBv0gAM2ViJfJe0D8_dD-fWrXeg,50
42
- bella_companion-0.0.5.dist-info/RECORD,,
39
+ bella_companion-0.0.6.dist-info/METADATA,sha256=3smSTa-FBJ-RUBiIt7fiK3VGp4EBlw4nAaScxOkDUG8,576
40
+ bella_companion-0.0.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
41
+ bella_companion-0.0.6.dist-info/entry_points.txt,sha256=rSeKoAhmjnQqAYFcXBv0gAM2ViJfJe0D8_dD-fWrXeg,50
42
+ bella_companion-0.0.6.dist-info/RECORD,,