Skip to content

Commit

Permalink
Merge pull request #164 from alan-turing-institute/rm-cmethods
Browse files Browse the repository at this point in the history
Remove `cmethods` `submodule`
  • Loading branch information
andrewphilipsmith authored Nov 6, 2024
2 parents 7d7a675 + 2dc7d06 commit 37b5dde
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ env:

on:
pull_request:
branches: ['main', 'cache-cpm-for-hads', ]
branches: ['main', 'rm-cmethods', ]
paths-ignore: ['docs/**']

push:
branches: ['main', 'cache-cpm-for-hads', ]
branches: ['main', 'rm-cmethods', ]
paths-ignore: ['docs/**']

concurrency:
Expand Down
6 changes: 0 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
[submodule "python/debiasing/cmethods"]
path = python/debiasing/cmethods
url = https://github.com/alan-turing-institute/python-cmethods
[submodule "python/debiasing/python-cmethods"]
path = python/clim_recal/debiasing/python-cmethods
url = https://github.com/alan-turing-institute/python-cmethods
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,22 @@ All are welcome and appreciated.
- **Release BC results**: Provide results from example BC runs.
- **More BC Methods**: Further bias correction of UKCP18 products. *This is planned for a future release and is not available yet.*
- **Pipeline for adding new methods**: *This is planned for a future release and is not available yet.*


## Acknowledgements

Prior to 12th September 2024 we included a reference to the [python-cmethods](https://github.com/btschwertfeger/python-cmethods) library, written by Benjamin Thomas Schwertfeger.

This was via a git submodule which targeted https://github.com/alan-turing-institute/python-cmethods, itself a fork of the original library.

Inadvertently, we did not identify that the license for the `python-cmethods` library (GPL3) is not compatible with the license for this package (MIT). We apologise for this mistake and have taken the following actions to resolve it:

* We have now removed the relevant submodule from this repository.
* Added this note to the README.
* Added a note to the `python/README.md` file.
* Added the citation below.


## Citation

**python-cmethods**: Benjamin T. Schwertfeger. (2024). btschwertfeger/python-cmethods: v2.3.0 (v2.3.0). Zenodo. https://doi.org/10.5281/zenodo.12168002
1 change: 0 additions & 1 deletion python/clim_recal/debiasing/python-cmethods
Submodule python-cmethods deleted from e2c176
1 change: 0 additions & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ minversion = "6.0"
addopts = """
-ra -q
--doctest-modules
--ignore=clim_recal/debiasing/python-cmethods
--ignore=clim_recal/debiasing/preprocess_data.py
--ignore=clim_recal/debiasing/run_cmethods.py
-m "not server and not mount and not localcache"
Expand Down

0 comments on commit 37b5dde

Please sign in to comment.