Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/urlcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: urlcheck

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 13 * * 4'

jobs:
url-check:
runs-on: ubuntu-24.04
steps:
- uses: actions/[email protected]
- uses: urlstechie/urlchecker-action@master
with:
file_types: .md,.py,.json,.ipynb,.yaml,.yml,.toml,.c,.hpp,.cpp,.F90,.f90,.txt,.dat,.cff
print_all: false
verbose: true
timeout: 7
retry_count: 3
exclude_urls: https://www.gnu.org/licenses/gpl-3.0.en.html,https://www.gnu.org/licenses/gpl-3.0.html,https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
exclude_patterns: http://purl.org,http://www.w3.org
exclude_files: .github/workflows/urlcheck.yml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pip install PyPartMC[examples]

## Features

- works on Linux, macOS and Windows (compatibility assured with [CI builds](https://github.com/open-atmos/PyPartMC/blob/main/.github/workflows/tests.yml))
- works on Linux, macOS and Windows (compatibility assured with [CI builds](https://github.com/open-atmos/PyPartMC/blob/main/.github/workflows/buildwheels.yml))
- hassle-free installation using `pip` (prior PartMC installation **not needed**)
- works out of the box on [mybinder.org](https://mybinder.org/), [Google Colab](colab.research.google.com/) and alike
- ships with [a set of examples](https://github.com/open-atmos/PyPartMC/tree/main/examples) maintained in a form of Jupyter notebooks
Expand Down
19 changes: 2 additions & 17 deletions examples/additive_coag_comparison.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,8 @@
"class RunDropletsJL(Run):\n",
" def __init__(self, _):\n",
" BASE_URL = (\n",
" 'https://raw.githubusercontent.com/emmacware/droplets.jl/REVISION/'\n",
" ).replace('REVISION', 'c3b5ae4edf12c7b10dc8759639f18de1267bc52b')\n",
" 'https://raw.githubusercontent.com/emmacware/droplets.jl/refs/heads/main/README.md'\n",
" ).replace('refs/heads/main/README.md', 'c3b5ae4edf12c7b10dc8759639f18de1267bc52b/')\n",
" for path in (\n",
" 'src/SDfunc/constants.jl', 'src/SDfunc/binning.jl', 'src/SDfunc/coalescence.jl',\n",
" ):\n",
Expand Down Expand Up @@ -732,9 +732,6 @@
"execution_count": 12,
"id": "b33d3ccb",
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "b33d3ccb",
"outputId": "3ee99629-6f11-415e-8a65-aa5925f05610"
},
Expand Down Expand Up @@ -888,18 +885,6 @@
"execution_count": 13,
"id": "6cc84269",
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 1000,
"referenced_widgets": [
"a70a8f1547324003bf5060e4a84ad1b7",
"2790c4f59c444e559a9eafc6d0efcf78",
"8bfad5ba5afa473ebf40426240c7d291",
"e491d2d597bf42218d52dd3e2d86fb64",
"66ea2bf94eb64790b2b53a0a7d28d1d0",
"dd3e2f8ce6f04a808e16ec6da1176ffc"
]
},
"id": "6cc84269",
"outputId": "dc996ce6-b3ed-4278-9968-432c41ac8947"
},
Expand Down
Loading