TEA: the cycle's relate_ados2 step between the EEG analysis and the load, and the ADOS-2 relation in FHIR

This commit is contained in:
ulises
2026-11-21 23:18:39 -06:00
parent 71557ecbd3
commit 74303aa1b9
15 changed files with 235 additions and 71 deletions
+3 -2
View File
@@ -13,7 +13,7 @@ from datetime import date
from pathlib import Path
from webapi.orchestration.context import Context
from webapi.orchestration.eeg import live_eeg_analysis
from webapi.orchestration.eeg import live_ados2_relation, live_eeg_analysis
from webapi.orchestration.estimators import live_estimators
from webapi.orchestration.runner import run
@@ -45,7 +45,8 @@ def main(argv: list[str] | None = None) -> None:
return
logging.basicConfig(level=logging.INFO, format="%(message)s")
ctx = Context(args.project, args.year_from, args.year_to, args.cutoff, args.allow_undecided, args.parameters,
estimators=live_estimators(args.project), eeg_analysis=live_eeg_analysis(args.project))
estimators=live_estimators(args.project), eeg_analysis=live_eeg_analysis(args.project),
ados2_relation=live_ados2_relation(args.project))
for paso in run(ctx, only=args.only):
print(f"{paso.name:20} {paso.seconds:6.1f} s")