TEA studies upload their EDFs as one upload set (the merged upload takes several files)

This commit is contained in:
2026-12-01 00:09:12 -06:00
parent 3e213c4fc0
commit 3655b9857c
+1 -3
View File
@@ -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;