Skip to content

Commit

Permalink
change from Excercise to Challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
daurer committed Jun 7, 2024
1 parent f5fca1e commit 03656b3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 85 deletions.
2 changes: 1 addition & 1 deletion docs/scripts/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def replace_div_with_admonition(cell, label="Note", type="note"):
if cell["cell_type"] == "markdown":
for s in cell["source"]:
if s.startswith("<div class=") and ("warning" in s):
replace_div_with_admonition(cell, label="Exercise", type="attention")
replace_div_with_admonition(cell, label="Challenge", type="attention")
if s.startswith("<div class=") and ("success" in s):
replace_div_with_admonition(cell, label="Tip", type="tip")
if s.startswith("<div class=") and ("info" in s):
Expand Down
45 changes: 2 additions & 43 deletions notebooks/experimental_xray_data/00_data_loading.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "PtyPy",
"display_name": "Python 3 (ipykernel) [User Conda - cuda12.2]",
"language": "python",
"name": "ptypy_pycuda"
"name": "conda-env-User_Conda_-_cuda12.2-python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -370,7 +370,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.15"
"version": "3.11.5"
}
},
"nbformat": 4,
Expand Down
6 changes: 3 additions & 3 deletions notebooks/gpu_acceleration_and_large_data/01_multi_gpu.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "PtyPy",
"display_name": "Python 3 (ipykernel) [User Conda - cuda12.2]",
"language": "python",
"name": "ptypy_pycuda"
"name": "conda-env-User_Conda_-_cuda12.2-python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -175,7 +175,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.15"
"version": "3.11.5"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 03656b3

Please sign in to comment.