Skip to content

Commit

Permalink
Exclude some cloud computing notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
abarciauskas-bgse committed Aug 14, 2024
1 parent cf35de9 commit 233c9c8
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ensure_clean_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@

results = []
for notebook in ipynbs:
#if not notebook in exclude_notebooks:
print(f'Checking {notebook}...')
nb = nbformat.read(notebook, as_version=nbformat.NO_CONVERT)
result = nbc.check_notebook(nb,
remove_empty_cells=False,
preserve_cell_metadata=True)
results.append(result)
if not notebook in exclude_notebooks:
print(f'Checking {notebook}...')
nb = nbformat.read(notebook, as_version=nbformat.NO_CONVERT)
result = nbc.check_notebook(nb,
remove_empty_cells=False,
preserve_cell_metadata=True)
results.append(result)

if False in results:
sys.exit(1)
2 changes: 2 additions & 0 deletions book/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ execute:
execute_notebooks: 'force'
exclude_patterns:
- "**/geospatial-advanced.ipynb"
- "cloud-computing/04-cloud-optimized-icesat2.ipynb"
- "cloud-computing/atl08_parquet_files/atl08_parquet.ipynb"
allow_errors: false
# Per-cell notebook execution limit (seconds)
timeout: 300
Expand Down
2 changes: 1 addition & 1 deletion book/tutorials/cloud-computing/01-cloud-computing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"\n",
"This tutorial will focus on AWS services and terminology, but Google Cloud and Microsoft Azure offer the same services.\n",
"\n",
":::{dropdown} 🏋️ Exercise: How many CPUs and how much memory does your laptop have? And how does that compare with hub.cryocloud?</h3>\n",
":::{dropdown} 🏋️ Exercise: How many CPUs and how much memory does your laptop have? And how does that compare with CryoCloud?</h3>\n",
":open:\n",
"If you have your laptop available, open the terminal app and use the appropriate commands to determine CPU and memory.\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {
Expand Down

0 comments on commit 233c9c8

Please sign in to comment.