File size: 611 Bytes
b2c86fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# 定义基础路径
MCP_GRAPH="$ROOT_DIR/graph_outputs/mcp_generated_graph_benchmark_biobench"

# 定义所有任务
tasks=(
    "deseq"
    "alzheimer-mouse"
    "comparative-genomics"
    "cystic-fibrosis"
    "evolution"
    "giab"
    "metagenomics"
    "single-cell"
    "transcript-quant"
    "viral-metagenomics"
)

# 并行运行每个任务
for task in "${tasks[@]}"; do
    python $ROOT_DIR/run_bioagent_bench.py --task "$task" --mcp-graph "$MCP_GRAPH" &
done

# 等待所有后台进程完成
wait
echo "所有任务已完成"