Skip to content

Commit

Permalink
MAINT: remove cell metadata editable and slideshow (#277)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
redeboer and pre-commit-ci[bot] authored Jul 8, 2024
1 parent 91f8ab1 commit e50b05d
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 64 deletions.
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ repos:
- |
cell.attachments
cell.metadata.code_folding
cell.metadata.editable
cell.metadata.id
cell.metadata.pycharm
cell.metadata.slideshow
cell.metadata.user_expressions
metadata.celltoolbar
metadata.colab.name
Expand All @@ -40,7 +42,7 @@ repos:
metadata.vscode
- repo: https://github.com/ComPWA/policy
rev: 0.3.9
rev: 0.3.10
hooks:
- id: check-dev-files
args:
Expand All @@ -51,6 +53,7 @@ repos:
- --repo-title=QRules
- id: colab-toc-visible
- id: fix-nbformat-version
- id: remove-empty-tags
- id: set-nb-cells
args:
- --add-install-cell
Expand Down
1 change: 1 addition & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"ms-python.flake8",
"ms-python.isort",
"ms-python.pylint",
"ms-toolsai.vscode-jupyter-slideshow",
"travisillig.vscode-json-stable-stringify",
"tyriar.sort-lines"
]
Expand Down
22 changes: 4 additions & 18 deletions docs/usage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell",
"skip-execution"
Expand All @@ -34,9 +31,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell"
]
Expand Down Expand Up @@ -87,19 +81,15 @@
},
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"### Investigate intermediate resonances"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"import qrules\n",
Expand Down Expand Up @@ -168,9 +158,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"import qrules\n",
Expand All @@ -192,9 +180,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"subset = pdg.filter(lambda p: p.spin in {2.5, 3.5, 4.5} and p.name.startswith(\"N\"))\n",
Expand Down
10 changes: 1 addition & 9 deletions docs/usage/conservation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell",
"skip-execution"
Expand All @@ -34,9 +31,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell"
]
Expand Down Expand Up @@ -149,9 +143,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"### No spin and angular momentum"
]
Expand Down
6 changes: 0 additions & 6 deletions docs/usage/custom-topology.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell",
"skip-execution"
Expand All @@ -34,9 +31,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell"
]
Expand Down
6 changes: 0 additions & 6 deletions docs/usage/ls-coupling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell",
"skip-execution"
Expand All @@ -34,9 +31,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell"
]
Expand Down
6 changes: 0 additions & 6 deletions docs/usage/particle.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell",
"skip-execution"
Expand All @@ -34,9 +31,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell"
]
Expand Down
14 changes: 2 additions & 12 deletions docs/usage/reaction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell",
"skip-execution"
Expand All @@ -34,9 +31,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell"
]
Expand Down Expand Up @@ -489,9 +483,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"tags": []
},
"metadata": {},
"outputs": [],
"source": [
"stm.set_allowed_intermediate_particles(r\"f\\([02]\\)\", regex=True)\n",
Expand Down Expand Up @@ -585,9 +577,7 @@
},
{
"cell_type": "markdown",
"metadata": {
"tags": []
},
"metadata": {},
"source": [
"```{tip}\n",
"The {mod}`ampform` package can formulate amplitude models based on the state transitions created by {mod}`qrules`. See {doc}`ampform:usage/amplitude`.\n",
Expand Down
6 changes: 0 additions & 6 deletions docs/usage/visualize.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell",
"skip-execution"
Expand All @@ -34,9 +31,6 @@
"jupyter": {
"source_hidden": true
},
"slideshow": {
"slide_type": "skip"
},
"tags": [
"remove-cell"
]
Expand Down

0 comments on commit e50b05d

Please sign in to comment.