Skip to content

Commit f9ff314

Browse files
committed
different arguments for the axes are called
2 parents 708e11b + ea35b4e commit f9ff314

86 files changed

Lines changed: 680 additions & 1735 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/renovate.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"timezone": "Europe/London",
88
"schedule": ["after 9am and before 5pm every weekday"],
99
"dependencyDashboard": true,
10-
"assignees": ["harryswift01", "jimboid"],
10+
"reviewers": ["harryswift01", "jimboid"],
1111
"minimumReleaseAge": "3 days",
1212
"packageRules": [
1313
{
@@ -16,14 +16,14 @@
1616
"addLabels": ["ci", "dependencies"]
1717
},
1818
{
19-
"matchManagers": ["pep621"],
19+
"matchManagers": ["poetry", "pep621"],
2020
"matchDepTypes": ["project.dependencies"],
2121
"rangeStrategy": "widen",
2222
"groupName": "Software Production Dependencies",
2323
"addLabels": ["python", "production-deps"]
2424
},
2525
{
26-
"matchManagers": ["pep621"],
26+
"matchManagers": ["poetry", "pep621"],
2727
"matchDepTypes": ["project.optional-dependencies", "build-system.requires"],
2828
"rangeStrategy": "replace",
2929
"groupName": "Python CI and Dev Tools",

‎.github/web-meta.yaml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
shortdesc: "This code is a complete and generally applicable set of tools for computing entropy of macromolecular systems from the forces sampled in a MD simulation."
2+
longdesc: "CodeEntropy is a Python package for computing the configurational entropy of macromolecular systems using forces sampled from molecular dynamics (MD) simulations. It implements the multiscale cell correlation method to provide accurate and efficient entropy estimates, supporting a wide range of applications in molecular simulation and statistical mechanics."
3+
category: "scientific"
4+
image: "codeentropy-logo-chip-dark.svg"
5+
pypi: true
6+
conda: true
7+
ghcr: false

‎.github/workflows/coveralls-main.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Python 3.14
3232
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
3333
with:
34-
python-version: "3.14"
34+
python-version: "3.15"
3535

3636
- name: Install testing dependencies
3737
run: |
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Dependency Floors
2+
3+
on:
4+
schedule:
5+
- cron: '0 8 * * 1'
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
concurrency:
12+
group: dependency-floors-${{ github.ref }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
lowest:
17+
name: Lowest dependencies (${{ matrix.os }}, py${{ matrix.python-version }})
18+
runs-on: ${{ matrix.os }}
19+
timeout-minutes: 30
20+
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
os: [ubuntu-26.04, macos-26, windows-2025-vs2026]
25+
python-version: ["3.12", "3.13", "3.14"]
26+
27+
steps:
28+
- name: Checkout
29+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
30+
31+
- name: Set up Python ${{ matrix.python-version }}
32+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
33+
with:
34+
python-version: ${{ matrix.python-version }}
35+
36+
- name: Install uv
37+
run: |
38+
python -m pip install --upgrade pip
39+
python -m pip install uv
40+
41+
- name: Resolve lowest dependencies as wheels
42+
run: |
43+
uv pip compile pyproject.toml --resolution lowest-direct --only-binary :all: --output-file lowest.txt
44+
cat lowest.txt
45+
46+
- name: Install lowest dependencies
47+
run: uv pip install --system --resolution lowest-direct -e ".[testing]"
48+
49+
- name: Run unit tests
50+
run: python -m pytest tests/unit

‎.github/workflows/pr.yaml‎

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,19 @@ jobs:
3838
- name: Pytest unit • ${{ matrix.os }}, ${{ matrix.python-version }}
3939
run: python -m pytest tests/unit
4040

41+
- name: Install uv
42+
run: python -m pip install uv
43+
44+
- name: Resolve lowest dependencies as wheels
45+
run: |
46+
uv pip compile pyproject.toml --resolution lowest-direct --only-binary :all: --output-file lowest.txt
47+
48+
- name: Install lowest dependencies
49+
run: uv pip install --system --reinstall --resolution lowest-direct -e ".[testing]"
50+
51+
- name: Pytest unit at lowest dependencies • ${{ matrix.os }}, ${{ matrix.python-version }}
52+
run: python -m pytest tests/unit
53+
4154
discover-systems:
4255
name: Discover regression systems
4356
runs-on: ubuntu-26.04
@@ -51,7 +64,7 @@ jobs:
5164
- name: Set up Python 3.14
5265
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
5366
with:
54-
python-version: "3.14"
67+
python-version: "3.15"
5568

5669
- name: Install testing dependencies
5770
run: |
@@ -82,7 +95,7 @@ jobs:
8295
- name: Set up Python 3.14
8396
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
8497
with:
85-
python-version: "3.14"
98+
python-version: "3.15"
8699

87100
- name: Install testing dependencies
88101
run: |
@@ -99,7 +112,7 @@ jobs:
99112
100113
- name: Upload artifacts on failure
101114
if: failure()
102-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
115+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
103116
with:
104117
name: quick-regression-failure-${{ matrix.system }}
105118
path: |
@@ -119,7 +132,7 @@ jobs:
119132
- name: Set up Python 3.14
120133
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
121134
with:
122-
python-version: "3.14"
135+
python-version: "3.15"
123136

124137
- name: Install docs dependencies
125138
run: |
@@ -133,7 +146,7 @@ jobs:
133146
134147
- name: Upload docs artifact
135148
if: always()
136-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
149+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
137150
with:
138151
name: docs-html
139152
path: docs/_build/html
@@ -151,7 +164,7 @@ jobs:
151164
- name: Set up Python 3.14
152165
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
153166
with:
154-
python-version: "3.14"
167+
python-version: "3.15"
155168

156169
- name: Install pre-commit dependencies
157170
run: |
@@ -186,7 +199,7 @@ jobs:
186199
- name: Set up Python 3.14
187200
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
188201
with:
189-
python-version: "3.14"
202+
python-version: "3.15"
190203

191204
- name: Install testing dependencies
192205
run: |

‎.github/workflows/release.yaml‎

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,68 @@ jobs:
155155
--data-urlencode "topic=software releases" \
156156
--data-urlencode "content=${CONTENT}"
157157
158+
- name: checkout
159+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
160+
161+
- name: Build dispatch payload
162+
id: payload
163+
shell: bash
164+
env:
165+
NAME: ${{ github.event.repository.name }}
166+
REPO_URL: ${{ github.server_url }}/${{ github.repository }}
167+
VERSION: ${{ github.event.inputs.version }}
168+
META_FILE: .github/web-meta.yaml
169+
CFF_FILE: CITATION.cff
170+
run: |
171+
for f in "$META_FILE" "$CFF_FILE"; do
172+
if [ ! -f "$f" ]; then
173+
echo "::error::$f not found in $(pwd)"
174+
ls -la . .github
175+
exit 1
176+
fi
177+
done
178+
179+
# Constructed URLs (Read the Docs slugs are lowercase)
180+
github_url="$REPO_URL"
181+
docs_url="https://${NAME,,}.readthedocs.io/"
182+
183+
# Metadata from web-meta.yaml
184+
meta=$(yq -o=json '.' "$META_FILE")
185+
186+
# Authors from CITATION.cff -> { "Full Name": "orcid url" }
187+
authors=$(yq -o=json '.authors' "$CFF_FILE" | jq -c '
188+
map({
189+
key: (
190+
if .name then .name
191+
else ([."given-names", ."family-names"] | map(select(. != null)) | join(" "))
192+
end
193+
),
194+
value: (.orcid // "")
195+
}) | from_entries')
196+
197+
payload=$(jq -nc \
198+
--arg name "$NAME" \
199+
--arg github "$github_url" \
200+
--arg docs "$docs_url" \
201+
--arg version "$VERSION" \
202+
--argjson meta "$meta" \
203+
--argjson authors "$authors" \
204+
'{
205+
name: $name,
206+
meta: ({github: $github, docs: $docs} + $meta + {version: $version, authors: $authors})
207+
}')
208+
209+
echo "payload: $payload"
210+
echo "json=$payload" >> "$GITHUB_OUTPUT"
211+
212+
- name: Post version to website metadata repo
213+
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
214+
with:
215+
token: ${{ secrets.BUILD_TOKEN }}
216+
repository: ccpbiosim/ccpbiosim.github.io
217+
event-type: software
218+
client-payload: ${{ steps.payload.outputs.json }}
219+
158220
pypi:
159221
name: make pypi release
160222
needs: [tag, release]

‎.github/workflows/update_regression_baselines.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Python
2626
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2727
with:
28-
python-version: "3.14"
28+
python-version: "3.15"
2929

3030
- name: Install testing dependencies
3131
run: |

‎.github/workflows/weekly-docs.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: Upload docs artifacts on failure
4343
if: failure()
44-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
44+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
4545
with:
4646
name: docs-${{ matrix.os }}-py${{ matrix.python-version }}-failure
4747
path: |

‎.github/workflows/weekly-regression.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Python 3.14
2525
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
2626
with:
27-
python-version: "3.14"
27+
python-version: "3.15"
2828

2929
- name: Install testing dependencies
3030
run: |
@@ -55,7 +55,7 @@ jobs:
5555
- name: Set up Python 3.14
5656
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
5757
with:
58-
python-version: "3.14"
58+
python-version: "3.15"
5959

6060
- name: Install testing dependencies
6161
run: |
@@ -72,7 +72,7 @@ jobs:
7272
7373
- name: Upload regression artifacts (failure)
7474
if: failure()
75-
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
75+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
7676
with:
7777
name: regression-${{ matrix.system }}-artifacts
7878
path: |

‎CITATION.cff‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,50 +12,50 @@ authors:
1212
family-names: Chakravorty
1313
email: arghyac@umich.edu
1414
orcid: 'https://orcid.org/0000-0002-4467-1135'
15-
affiliation: University of Michigan
15+
affiliation: 'Department of Chemistry, University of Michigan, Ann Arbor, Michigan 48109, United States'
1616
- given-names: Donald
1717
family-names: Chung-HK
1818
email: donald.chung@stfc.ac.uk
19-
affiliation: 'STFC, Scientific Computing'
19+
affiliation: 'Scientific Computing Department, STFC Rutherford Appleton Laboratory, Didcot OX11 0QX, United Kingdom'
2020
- given-names: Sarah
2121
family-names: Fegan
2222
email: sarah.fegan@stfc.ac.uk
23-
affiliation: 'STFC, Scientific Computing'
23+
affiliation: 'Scientific Computing Department, STFC Daresbury Laboratory, Warrington WA4 4AD, United Kingdom'
2424
orcid: 'https://orcid.org/0009-0007-1030-228X'
2525
- given-names: James
2626
family-names: Gebbie-Rayet
2727
email: james.gebbie@stfc.ac.uk
28-
affiliation: 'STFC, Scientific Computing'
28+
affiliation: 'Scientific Computing Department, STFC Daresbury Laboratory, Warrington WA4 4AD, United Kingdom'
2929
orcid: 'https://orcid.org/0000-0001-8271-3431'
3030
- given-names: Sarah
3131
family-names: Harris
3232
email: sarah.harris@sheffield.ac.uk
33-
affiliation: University of Sheffield
33+
affiliation: 'School of Mathematical and Physical Sciences, University of Sheffield, United Kingdom'
3434
orcid: 'https://orcid.org/0000-0002-2812-1651'
3535
- given-names: Richard
3636
family-names: Henchman
3737
email: rhen7213@uni.sydney.edu.au
38-
affiliation: University of Sydney
38+
affiliation: 'School of Public Health, University of Sydney, Australia'
3939
orcid: 'https://orcid.org/0000-0002-0461-6625'
4040
- given-names: Jonathan
4141
family-names: Higham
4242
email: j.higham4@lancaster.ac.uk
43-
affiliation: Lancaster University
43+
affiliation: 'Department of Mathematics and Statistics, Faculty of Science and Technology, Lancaster University, Lancaster LA1 4YF, United Kingdom'
4444
orcid: 'https://orcid.org/0000-0002-9779-9968'
4545
- given-names: Jas
4646
family-names: Kalayan
4747
email: jas.kalayan@stfc.ac.uk
48-
affiliation: 'STFC, Scientific Computing'
48+
affiliation: 'Scientific Computing Department, STFC Daresbury Laboratory, Warrington WA4 4AD, United Kingdom'
4949
orcid: 'https://orcid.org/0000-0002-6833-1864'
5050
- given-names: Ioana
5151
family-names: Papa
5252
email: iapapa1@sheffield.ac.uk
53-
affiliation: University of Sheffield
53+
affiliation: 'School of Mathematical and Physical Sciences, University of Sheffield, United Kingdom'
5454
orcid: 'https://orcid.org/0009-0000-2287-4081'
5555
- given-names: Harry
5656
family-names: Swift
5757
email: harry.swift@stfc.ac.uk
58-
affiliation: 'STFC, Scientific Computing'
58+
affiliation: 'Scientific Computing Department, STFC Daresbury Laboratory, Warrington WA4 4AD, United Kingdom'
5959
orcid: 'https://orcid.org/0009-0007-3323-753X'
6060
repository-code: 'https://github.com/CCPBioSim/CodeEntropy'
6161
url: 'https://ccpbiosim.github.io/CodeEntropy/'
@@ -76,5 +76,5 @@ keywords:
7676
- biomolecular simulations
7777
- protein flexibility
7878
license: MIT
79-
version: 2.5.0
80-
date-released: '2026-10-09'
79+
version: 2.6.1
80+
date-released: '2026-10-15'

0 commit comments

Comments
 (0)