From 3655b9857ce42dd7798844c607a760fb9f2ea366 Mon Sep 17 00:00:00 2001 From: alberto Date: Tue, 1 Dec 2026 00:09:12 -0600 Subject: [PATCH] TEA studies upload their EDFs as one upload set (the merged upload takes several files) --- src/app/gobernanza/tea/studies.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/gobernanza/tea/studies.ts b/src/app/gobernanza/tea/studies.ts index 8555777..dd2b165 100644 --- a/src/app/gobernanza/tea/studies.ts +++ b/src/app/gobernanza/tea/studies.ts @@ -126,9 +126,7 @@ export class EegStudies { await this.start(async () => { try { await this.api.invoke(pipeline, { pipeline_id: 'tea' }); - for (const file of files) { - await this.api.invoke(upload, { body: { file: file as unknown as string } }); - } + await this.api.invoke(upload, { body: { files: files as unknown as string[] } }); const run = await this.api.invoke(startRun, { pipeline_id: 'tea', body: {} }); input.value = ''; return run;