pylantir 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.
- pylantir/cli/run.py +3 -2
- {pylantir-0.0.5.dist-info → pylantir-0.0.6.dist-info}/METADATA +1 -1
- {pylantir-0.0.5.dist-info → pylantir-0.0.6.dist-info}/RECORD +5 -5
- {pylantir-0.0.5.dist-info → pylantir-0.0.6.dist-info}/WHEEL +0 -0
- {pylantir-0.0.5.dist-info → pylantir-0.0.6.dist-info}/entry_points.txt +0 -0
pylantir/cli/run.py
CHANGED
|
@@ -194,16 +194,17 @@ def main() -> None:
|
|
|
194
194
|
|
|
195
195
|
|
|
196
196
|
if (args.command == "start"):
|
|
197
|
+
# Load configuration (either user-specified or default)
|
|
198
|
+
config = load_config(args.pylantir_config)
|
|
197
199
|
# Extract the database path (default to worklist.db if missing) &
|
|
198
200
|
# Extract the database echo setting (default to False if missing)
|
|
199
201
|
db_path = config.get("db_path", "./worklist.db")
|
|
200
202
|
db_echo = config.get("db_echo", "False")
|
|
201
203
|
update_env_with_config(db_path=db_path, db_echo=db_echo)
|
|
202
204
|
|
|
205
|
+
|
|
203
206
|
from ..mwl_server import run_mwl_server
|
|
204
207
|
from ..redcap_to_db import sync_redcap_to_db_repeatedly
|
|
205
|
-
# Load configuration (either user-specified or default)
|
|
206
|
-
config = load_config(args.pylantir_config)
|
|
207
208
|
|
|
208
209
|
# Extract the database update interval (default to 60 seconds if missing)
|
|
209
210
|
db_update_interval = config.get("db_update_interval", 60)
|
|
@@ -6,9 +6,9 @@ pylantir/mwl_server.py,sha256=0NzZY2_uRI8QIeLeTFzQBuPyYxrKYrF1eHLNAnT4rXc,8662
|
|
|
6
6
|
pylantir/populate_db.py,sha256=KIbkVA-EAuTlDArXMFOHkjMmVfjlsTApj7S1wpUu1bM,2207
|
|
7
7
|
pylantir/redcap_to_db.py,sha256=ITiMAY-XB7B_-_8jUSAjdNqTngULjXBbWYjY4_Byh1U,8465
|
|
8
8
|
pylantir/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
pylantir/cli/run.py,sha256=
|
|
9
|
+
pylantir/cli/run.py,sha256=aF_koq7zGo1q7pU68Bw776hWz_eNBvVkcm-nG_-vwIo,10293
|
|
10
10
|
pylantir/config/mwl_config.json,sha256=1Ma2guYAEAXQh1z7959aZadAn3ORjBqnDDibSLcwv_g,851
|
|
11
|
-
pylantir-0.0.
|
|
12
|
-
pylantir-0.0.
|
|
13
|
-
pylantir-0.0.
|
|
14
|
-
pylantir-0.0.
|
|
11
|
+
pylantir-0.0.6.dist-info/entry_points.txt,sha256=vxaxvfGppLqRt9_4sqNDdP6b2jlgpcHIwP7UQfrM1T0,50
|
|
12
|
+
pylantir-0.0.6.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
|
|
13
|
+
pylantir-0.0.6.dist-info/METADATA,sha256=n3YnxTkvEpN8rVpelcMi_IwFmfdt40GQSrrm0JQ4dRc,7176
|
|
14
|
+
pylantir-0.0.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|