Skip to content

Commit

Permalink
Mirror notebooks now use tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Oct 29, 2019
1 parent 190be80 commit 6bf09af
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion tests/notebooks/mirror/Rmd_to_ipynb/R_sample.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
13 changes: 8 additions & 5 deletions tests/notebooks/mirror/Rmd_to_ipynb/chunk_options.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"hide_input": true,
"hide_output": true,
"lines_to_next_cell": 2,
"name": "knitr_setup"
"name": "knitr_setup",
"tags": [
"remove_cell"
]
},
"outputs": [],
"source": [
Expand All @@ -44,9 +45,11 @@
"metadata": {
"fig.height": 5,
"fig.width": 8,
"hide_input": true,
"lines_to_next_cell": 0,
"name": "bar_plot"
"name": "bar_plot",
"tags": [
"remove_input"
]
},
"outputs": [],
"source": [
Expand Down
8 changes: 5 additions & 3 deletions tests/notebooks/mirror/Rmd_to_ipynb/ioslides.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@
"metadata": {
"fig.height": 5,
"fig.width": 8,
"hide_input": true,
"lines_to_next_cell": 0
"lines_to_next_cell": 0,
"tags": [
"remove_input"
]
},
"outputs": [],
"source": [
Expand All @@ -88,7 +90,7 @@
],
"metadata": {
"jupytext": {
"cell_metadata_filter": "echo,fig.height,hide_input,fig.width,-all",
"cell_metadata_filter": "echo,tags,fig.width,fig.height,-all",
"main_language": "python",
"notebook_metadata_filter": "-all"
}
Expand Down
9 changes: 5 additions & 4 deletions tests/notebooks/mirror/Rmd_to_ipynb/knitr-spin.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"hide_input": true,
"hide_output": true,
"name": "setup"
"name": "setup",
"tags": [
"remove_cell"
]
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -174,7 +175,7 @@
],
"metadata": {
"jupytext": {
"cell_metadata_filter": "hide_output,cache,fig.height,name,hide_input,fig.width,-all",
"cell_metadata_filter": "tags,name,fig.width,cache,fig.height,-all",
"main_language": "R",
"notebook_metadata_filter": "-all"
}
Expand Down
2 changes: 1 addition & 1 deletion tests/notebooks/mirror/Rmd_to_ipynb/markdown.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}

0 comments on commit 6bf09af

Please sign in to comment.