Coverage for .tox/p312/lib/python3.10/site-packages/scicom/run.py: 0%
10 statements
« prev ^ index » next coverage.py v7.4.4, created at 2024-05-28 12:02 +0200
« prev ^ index » next coverage.py v7.4.4, created at 2024-05-28 12:02 +0200
1"""Run simulations."""
2import argparse
4parser = argparse.ArgumentParser(
5 prog="Run SciCom Simulations",
6 description="This script starts the server interfaces for the different ABM.",
7 epilog="During the running of this script, the interfaces should be reachable at http://127.0.0.1:8521",
8)
10parser.add_argument(
11 "simulation",
12 choices=[
13 "historicalletters", "knowledgespread",
14 ],
15)
17args = parser.parse_args()
19if args.simulation == "historicalletters":
20 from scicom.historicalletters.server import server
21 server.launch()
22elif args.simulation == "knowledgespread":
23 from scicom.knowledgespread.server import server
24 server.launch()