File tree Expand file tree Collapse file tree 5 files changed +25
-9
lines changed
docs/source/physics/single_chain/fjc/thermodynamics Expand file tree Collapse file tree 5 files changed +25
-9
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,28 @@ jobs:
14
14
with :
15
15
myToken : ${{ github.token }}
16
16
view_top : 1
17
- - name : check
17
+ - name : rust
18
18
run : |
19
19
pip install packaging
20
20
export LATEST_VERSION=$(echo ${{ steps.last_release.outputs.tag_name }} | cut -d v -f 2)
21
21
echo "latest tag is ${LATEST_VERSION}"
22
- export CURRENT_VERSION=$(grep -m 1 version Cargo.toml | cut -d '"' -f 2)
23
- echo "version in PR is ${CURRENT_VERSION}"
24
- export CHECK=$(python -c 'from packaging.version import parse; print(parse("'${CURRENT_VERSION}'") > parse("'${LATEST_VERSION}'"))' | tr '[:upper:]' '[:lower:]')
25
- $CHECK
22
+ export CURRENT_VERSION_RUST=$(grep -m 1 version Cargo.toml | cut -d '"' -f 2)
23
+ echo "rust version in PR is ${CURRENT_VERSION_RUST}"
24
+ export CHECK=$(python -c 'from packaging.version import parse; print(parse("'${CURRENT_VERSION_RUST}'") > parse("'${LATEST_VERSION}'"))' | tr '[:upper:]' '[:lower:]')
25
+ $CHECK
26
+ - name : julia
27
+ run : |
28
+ export LATEST_VERSION=$(echo ${{ steps.last_release.outputs.tag_name }} | cut -d v -f 2)
29
+ echo "latest tag is ${LATEST_VERSION}"
30
+ export CURRENT_VERSION_JULIA=$(grep -m 1 version Project.toml | cut -d '"' -f 2)
31
+ echo "julia version in PR is ${CURRENT_VERSION_JULIA}"
32
+ export CHECK=$(python -c 'from packaging.version import parse; print(parse("'${CURRENT_VERSION_JULIA}'") > parse("'${LATEST_VERSION}'"))' | tr '[:upper:]' '[:lower:]')
33
+ $CHECK
34
+ - name : both
35
+ run : |
36
+ export CURRENT_VERSION_RUST=$(grep -m 1 version Cargo.toml | cut -d '"' -f 2)
37
+ echo "rust version in PR is ${CURRENT_VERSION_RUST}"
38
+ export CURRENT_VERSION_JULIA=$(grep -m 1 version Project.toml | cut -d '"' -f 2)
39
+ echo "julia version in PR is ${CURRENT_VERSION_JULIA}"
40
+ export CHECK=$(python -c 'from packaging.version import parse; print(parse("'${CURRENT_VERSION_RUST}'") == parse("'${CURRENT_VERSION_JULIA}'"))' | tr '[:upper:]' '[:lower:]')
41
+ $CHECK
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " polymers"
3
- version = " 0.0.10 "
3
+ version = " 0.0.11 "
4
4
edition = " 2021"
5
5
description = " Polymers Modeling Library"
6
6
license = " BSD-3-Clause"
Original file line number Diff line number Diff line change 1
1
name = " Polymers"
2
2
uuid = " 8aef037c-a721-4e8a-9d81-eb7093daef2c"
3
3
authors = [
" mrbuche <[email protected] >" ]
4
- version = " 0.0.7 "
4
+ version = " 0.0.11 "
5
5
6
6
[deps ]
7
7
Documenter = " e30172f5-a6a5-5a46-863b-614d45cd2de4"
Original file line number Diff line number Diff line change 7
7
"source" : [
8
8
" # Ensembles and the thermodynamic limit\n " ,
9
9
" \n " ,
10
- " [](https://mybinder.org/v2/gh/sandialabs/Polymers/main?labpath=docs%2Fsource%2F%2Fphysics%2Fsingle_chain%2Ffjc%2Fthermodynamics%2Fthermodynamic_limit .ipynb)"
10
+ " [](https://mybinder.org/v2/gh/sandialabs/Polymers/main?labpath=docs%2Fsource%2F%2Fphysics%2Fsingle_chain%2Ffjc%2Fthermodynamics%2Fexample_thermodynamic_limit .ipynb)"
11
11
]
12
12
},
13
13
{
Original file line number Diff line number Diff line change 7
7
"source" : [
8
8
" # Asymptotic approximations\n " ,
9
9
" \n " ,
10
- " [](https://mybinder.org/v2/gh/sandialabs/Polymers/main?labpath=docs%2Fsource%2F%2Fphysics%2Fsingle_chain%2Ffjc%2Fthermodynamics%2Fmodified_canonical%2Fasymptotic .ipynb)"
10
+ " [](https://mybinder.org/v2/gh/sandialabs/Polymers/main?labpath=docs%2Fsource%2F%2Fphysics%2Fsingle_chain%2Ffjc%2Fthermodynamics%2Fmodified_canonical%2Fexample_asymptotic .ipynb)"
11
11
]
12
12
},
13
13
{
You can’t perform that action at this time.
0 commit comments