File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 for file in envs/*.lock.yaml; do
5050 if [ -f "$file" ]; then
5151 echo "Processing $file"
52- if ! grep -q "name: esm-ws-25-26" "$file"; then
53- # Insert name: esm-ws-25-26 before channels section
54- sed -i '7a name: esm-ws-25-26' "$file"
52+ if ! grep -q "^ name: esm-ws-25-26" "$file"; then
53+ # Insert name before channels section
54+ sed -i '/^channels:/i name: esm-ws-25-26' "$file"
5555 else
5656 echo "name: esm-ws-25-26 already exists in $file"
5757 fi
Original file line number Diff line number Diff line change 3737 {
3838 "cell_type" : " code" ,
3939 "execution_count" : null ,
40- "metadata" : {},
40+ "metadata" : {
41+ "tags" : [
42+ " hide-cell"
43+ ]
44+ },
4145 "outputs" : [],
4246 "source" : [
4347 " efficiency = 0.45\n " ,
Original file line number Diff line number Diff line change 44
55channels :
66 - conda-forge
7- dependencies :
87name : esm-ws-25-26
8+ dependencies :
99 - _libgcc_mutex=0.1=conda_forge
1010 - _openmp_mutex=4.5=2_gnu
1111 - _python_abi3_support=1.0=hd8ed1ab_2
Original file line number Diff line number Diff line change 44
55channels :
66 - conda-forge
7- dependencies :
87name : esm-ws-25-26
8+ dependencies :
99 - _python_abi3_support=1.0=hd8ed1ab_2
1010 - accessible-pygments=0.0.5=pyhd8ed1ab_1
1111 - adwaita-icon-theme=49.0=unix_0
Original file line number Diff line number Diff line change 44
55channels :
66 - conda-forge
7- dependencies :
87name : esm-ws-25-26
8+ dependencies :
99 - _python_abi3_support=1.0=hd8ed1ab_2
1010 - accessible-pygments=0.0.5=pyhd8ed1ab_1
1111 - adwaita-icon-theme=49.0=unix_0
Original file line number Diff line number Diff line change 44
55channels :
66 - conda-forge
7- dependencies :
87name : esm-ws-25-26
8+ dependencies :
99 - _libavif_api=1.3.0=h57928b3_2
1010 - _openmp_mutex=4.5=2_gnu
1111 - _python_abi3_support=1.0=hd8ed1ab_2
You can’t perform that action at this time.
0 commit comments