fix: fix multiapp tasks (#229)
Co-authored-by: adlsdztony <zzl0712@connect.hku.hk>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "48d05431-6cd5-4e76-82eb-12b60d823f7d",
|
||||
"snapshot": "os",
|
||||
"instruction": "When I ran \"conda install datasets\" in terminal, I got \"conda: command not found\". Could you help me solve it?",
|
||||
"instruction": "When I ran \"conda install datasets\" in terminal, I got \"conda: command not found\". Could you help me solve it so that I can use conda command right away?",
|
||||
"source": "authors",
|
||||
"config": [
|
||||
{
|
||||
@@ -45,17 +45,18 @@
|
||||
"os",
|
||||
"chrome"
|
||||
],
|
||||
|
||||
"evaluator": {
|
||||
"func": "is_in_list",
|
||||
"func": "exact_match",
|
||||
"result": {
|
||||
"type": "vm_command_line",
|
||||
"command": "conda list",
|
||||
"command": "grep -q 'conda initialize' ~/.bashrc && echo 1 || echo 0",
|
||||
"shell": true
|
||||
},
|
||||
"expected": {
|
||||
"type": "rule",
|
||||
"rules": {
|
||||
"expected": "packages in environment at"
|
||||
"expected": "1\n"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user