TEA studies upload their EDFs as one upload set (the merged upload takes several files)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user