Skip to content

Commit

Permalink
fix: remove Python example workflow (#197)
Browse files Browse the repository at this point in the history
* build: pin to expertsystem 0.6.5
* ci: equalize dev settings with expertsystem
* ci: upgrade developer dependencies (automatic)
* fix: links to examples folders
  • Loading branch information
redeboer authored Jan 8, 2021
1 parent d5e2b5a commit 22f8ba4
Show file tree
Hide file tree
Showing 25 changed files with 85 additions and 1,378 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ jobs:
env:
CUDA_VISIBLE_DEVICES: "-1"
run: pytest -n auto
- name: Test example scripts
working-directory: examples
run: python *.py # https://github.com/ComPWA/tensorwaves/issues/103

documentation:
name: Build documentation and run notebooks
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,3 @@ pyvenv*/
!cspell.json
!environment.yml
!pyrightconfig.json

!examples/intensity-recipe.yaml
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ repos:
- id: prettier
language_version: 12.18.2 # prettier does not specify node correctly

# The following tools have to be install locally, because they can also be
# used by code editors (e.g. linting and format-on-save).

- repo: local
hooks:
- id: black
Expand Down
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.wordWrap": "off"
},
"[pip-requirements]": {
"editor.wordWrap": "off"
},
"[python]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
Expand All @@ -34,6 +37,12 @@
"files.associations": {
"*.inc": "restructuredtext"
},
"files.watcherExclude": {
"**/*_cache/**": true,
"**/.eggs/**": true,
"**/.git/**": true,
"**/.tox/**": true
},
"git.rebaseWhenSync": true,
"githubPullRequests.telemetry.enabled": false,
"gitlens.advanced.telemetry.enabled": false,
Expand Down
3 changes: 1 addition & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ For an overview of upcoming releases and planned functionality, see
```
````

For a quick demo of the TensorWaves workflow, see the
[workflow notebooks on binder](https://mybinder.org/v2/gh/ComPWA/tensorwaves/master?filepath=examples%2Fworkflow).
For a quick demo of the TensorWaves workflow, see {doc}`/usage`.

TensorWaves is a Python package for doing Partial Wave Analysis with
[TensorFlow](https://www.tensorflow.org) as computational backend. The package
Expand Down
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Usage
The examples in the following pages illustrate how to use the tools that
`tensorwaves` offers. The examples were written as Jupyter notebooks and can be
downloaded `here
<https://github.com/ComPWA/tensorwaves/tree/master/examples>`_.
<https://github.com/ComPWA/tensorwaves/tree/master/docs/usage>`_.

.. toctree::
:maxdepth: 2
Expand Down
Loading

0 comments on commit 22f8ba4

Please sign in to comment.