Skip to content

Commit

Permalink
Merge pull request #12 from eds-book-gallery/postprint
Browse files Browse the repository at this point in the history
Postprint - clear outputs
  • Loading branch information
acocac authored Mar 12, 2024
2 parents fa369f5 + cb9b6e4 commit 7d732bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = v1.1.1
current_version = v1.1.2
commit = True
tag = True
parse = (v(?P<major>\d+))(.(?P<minor>\d+))(.(?P<patch>\d+))
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ authors:
affiliation: European Space Agency Φ-lab
- name: "This EDS book notebook contributors"
website: "https://github.com/eds-book-gallery/b34facfa-cea8-48f5-89f6-f11ce00812a9/graphs/contributors"
version: v1.1.1 # This is automatically set using the bumpversion tool.
version: v1.1.2 # This is automatically set using the bumpversion tool.
identifiers:
- type: doi
value: 10.5281/zenodo.8308843
Expand Down
24 changes: 4 additions & 20 deletions notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -189,20 +189,8 @@
},
{
"cell_type": "code",
"execution_count": 1,
"outputs": [
{
"ename": "NameError",
"evalue": "name 'pooch' is not defined",
"output_type": "error",
"traceback": [
"\u001B[0;31m---------------------------------------------------------------------------\u001B[0m",
"\u001B[0;31mNameError\u001B[0m Traceback (most recent call last)",
"Cell \u001B[0;32mIn[1], line 1\u001B[0m\n\u001B[0;32m----> 1\u001B[0m inputs \u001B[38;5;241m=\u001B[39m \u001B[43mpooch\u001B[49m\u001B[38;5;241m.\u001B[39mcreate(\n\u001B[1;32m 2\u001B[0m path\u001B[38;5;241m=\u001B[39mconfig[\u001B[38;5;124m'\u001B[39m\u001B[38;5;124min_geotiff\u001B[39m\u001B[38;5;124m'\u001B[39m],\n\u001B[1;32m 3\u001B[0m base_url\u001B[38;5;241m=\u001B[39m\u001B[38;5;124m\"\u001B[39m\u001B[38;5;124mdoi:10.5281/zenodo.5827377\u001B[39m\u001B[38;5;124m\"\u001B[39m,\n\u001B[1;32m 4\u001B[0m )\n",
"\u001B[0;31mNameError\u001B[0m: name 'pooch' is not defined"
]
}
],
"execution_count": null,
"outputs": [],
"source": [
"dataset = pooch.create(\n",
" path=config['in_geotiff'],\n",
Expand All @@ -221,11 +209,7 @@
" dataset.fetch(fn)"
],
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2024-03-12T09:10:49.416698Z",
"start_time": "2024-03-12T09:10:49.285216Z"
}
"collapsed": false
}
},
{
Expand Down Expand Up @@ -763,7 +747,7 @@
"source": [
"from datetime import date\n",
"\n",
"print('Notebook repository version: v1.1.1')\n",
"print('Notebook repository version: v1.1.2')\n",
"print(f'Last tested: {date.today()}')"
]
}
Expand Down

0 comments on commit 7d732bc

Please sign in to comment.