Skip to content

Commit e6add5e

Browse files
authored
Merge pull request #89 from slayoo/examples
cleaning up after examples were moved to another repo
2 parents 3d10ed5 + 0677163 commit e6add5e

File tree

8 files changed

+4
-645
lines changed

8 files changed

+4
-645
lines changed

.github/workflows/pylint.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
python-version: 3.9
2121
- run: |
2222
python -m pip install --upgrade pip
23-
pip install pylint pytest nbqa nbconvert
24-
pip install pylint pytest matplotlib ipywidgets # TEMPORARY! TODO #75
23+
pip install pylint pytest nbconvert
2524
pip install -e .
2625
- run: pylint --unsafe-load-any-extension=y --disable=fixme,no-member,trailing-newlines,missing-module-docstring,missing-class-docstring,missing-function-docstring,unnecessary-pass $(git ls-files '*.py')
27-
- run: nbqa pylint --unsafe-load-any-extension=y --disable=fixme,no-member,wrong-import-position,trailing-whitespace,missing-function-docstring,missing-module-docstring $(git ls-files '*.ipynb')

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
exclude examples
21
graft gitmodules/partmc/src
32
graft gitmodules/sundials/src/sunnonlinsol/newton
43
graft gitmodules/sundials/src/sunnonlinsol/fixedpoint

README.md

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import PyPartMC
3131
- works on Linux, macOS and Windows (compatibility assured with [CI builds](https://github.com/open-atmos/PyPartMC/blob/main/.github/workflows/tests.yml))
3232
- hassle-free installation using `pip` (prior PartMC installation **not needed**)
3333
- works out of the box on [mybinder.org](https://mybinder.org/), [Google Colab](colab.research.google.com/) and alike
34-
- ships with [a set of examples](https://github.com/open-atmos/PyPartMC/tree/main/examples) maintained in a form of Jupyter notebooks
34+
- ships with [a set of examples](https://github.com/open-atmos/PyPartMC-examples) maintained in a form of Jupyter notebooks
3535
- Pythonic API (but retaining PartMC jargon) incl. exceptions and GC deallocation of Fortran objects
3636
- code snippets in README depicting how to use PyPartMC from Julia (also executed on CI)
3737
- auto-generated [docs on the web](https://open-atmos.github.io/PyPartMC/)
@@ -63,22 +63,11 @@ gas_data = ppmc.GasData(("H2SO4", "HNO3", "HCl", "NH3", "NO", "NO2"))
6363

6464
#### Jupyter notebooks with examples
6565

66-
- `hello_world` notebook:
67-
[![nbviewer](https://raw.githubusercontent.com/jupyter/design/master/logos/Badges/nbviewer_badge.svg)](https://nbviewer.jupyter.org/github/open-atmos/PyPartMC/blob/main/examples/hello_world.ipynb)
68-
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/open-atmos/PyPartMC/blob/main/examples/hello_world.ipynb)
69-
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/open-atmos/PyPartMC.git/main?urlpath=lab/tree/examples/hello_world.ipynb)
70-
- `condense` notebook:
71-
[![nbviewer](https://raw.githubusercontent.com/jupyter/design/master/logos/Badges/nbviewer_badge.svg)](https://nbviewer.jupyter.org/github/open-atmos/PyPartMC/blob/main/examples/condense.ipynb)
72-
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/open-atmos/PyPartMC/blob/main/examples/condense.ipynb)
73-
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/open-atmos/PyPartMC.git/main?urlpath=lab/tree/examples/condense.ipynb)
74-
- `widgets_playground` notebook:
75-
[![nbviewer](https://raw.githubusercontent.com/jupyter/design/master/logos/Badges/nbviewer_badge.svg)](https://nbviewer.jupyter.org/github/open-atmos/PyPartMC/blob/main/examples/widgets_playground.ipynb)
76-
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/open-atmos/PyPartMC/blob/main/examples/widgets_playground.ipynb)
77-
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/open-atmos/PyPartMC.git/main?urlpath=lab/tree/examples/widgets_playground.ipynb)
66+
See the [PyPartMC-examples](https://github.com/open-atmos/PyPartMC-examples) project.
7867

7968
#### usage in other projects
8069

81-
PyPartMC is also used within the tests of PySDM project ... TODO
70+
PyPartMC is used within the [test workflow of the PySDM project](https://github.com/atmos-cloud-sim-uj/PySDM/tree/main/tests/smoke_tests/partmc).
8271

8372
## Implementation outline
8473

apt.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/condense.ipynb

Lines changed: 0 additions & 235 deletions
This file was deleted.

examples/hello_world.ipynb

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)