Skip to content

Commit c8d0645

Browse files
authored
Merge pull request #197 from StollLab/bump_python_version
Update python version dependency to include Python 3.13
2 parents 3285828 + ee0c10f commit c8d0645

5 files changed

Lines changed: 13 additions & 12 deletions

File tree

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@
1111
</p>
1212

1313

14-
| **UPDATES** |
15-
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
16-
| 2025.02.17 : Check out our new examples for trajectory analysis [Example_12](https://stolllab.github.io/chiLife/gallery/12-Analyzing_MD_Simulations.html) and using OpenMM for repacking [Example_13](https://stolllab.github.io/chiLife/gallery/13-OpenMM_Score_Function.html). |
14+
| **UPDATES** |
15+
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
16+
| 2025.07.10 : chilife now supported for Python 3.13 |
17+
| 2025.02.17 : Check out our new example for trajectory analysis [Example_12](https://stolllab.github.io/chiLife/gallery/12-Analyzing_MD_Simulations.html) and using OpenMM for repacking [Example_13](https://stolllab.github.io/chiLife/gallery/13-OpenMM_Score_Function.html).|
1718
| 2024.12.26 : Changes to the "energy funciton" backend. forcefield, forgive factors, etc should all be parts of the energy function now, and not parts of a rotamer library Checkout [Example_07](https://stolllab.github.io/chiLife/gallery/13-OpenMM_Score_Function.html) |
18-
| 2024.08.15 : chiLife 1.0 released! |
19-
| 2024.08.15 : chiLife can now be used to create arbitrary peptides with natural and NCAAs. Checkout the `make_peptide` function. |
20-
| 2024.08.15 : chiLife can make NCAA structures from smiles. Checkout `smiles2residue`. Note: Requires RDKit to be installed. |
21-
| chiLife now supports arbitrary backbone attachments including DNA and RNA labels and more! |
19+
| 2024.08.15 : chiLife 1.0 released! |
20+
| 2024.08.15 : chiLife can now be used to create arbitrary peptides with natural and NCAAs. Checkout the `make_peptide` function. |
21+
| 2024.08.15 : chiLife can make NCAA structures from smiles. Checkout `smiles2residue`. Note: Requires RDKit to be installed. |
22+
| chiLife now supports arbitrary backbone attachments including DNA and RNA labels and more! |
2223

2324

2425

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors=[{name = 'Maxx Tessmer', email='mhtessmer@gmail.com'},
77
{name = 'Stefan Stoll', email='stst@uw.edu'}]
88
keywords=['Spin-label', 'EPR', 'DEER', 'PELDOR', 'Side-chain']
99
dynamic = ["version"]
10-
requires-python = ">= 3.8,<3.13"
10+
requires-python = ">= 3.8,<3.14"
1111
dependencies = ['numpy>=1.23.0',
1212
'scipy>=1.6.3',
1313
'matplotlib>=3.3.4',

src/chilife/MolSysIC.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,8 +813,8 @@ def apply_chain_operators(self, idx=None, from_list=False):
813813
for i, op in zip(idx, self._chain_operators[idx]):
814814
for start, stop in self._chain_segs:
815815
current_mx, current_ori = ic_mx(*cart_coords[i, start:start+3])
816-
mx = self.chain_operators[start]['mx']
817-
ori = self.chain_operators[start]['ori']
816+
mx = op[start]['mx']
817+
ori = op[start]['ori']
818818
m2m3 = current_mx @ mx
819819
cart_coords[i, start:stop] = (cart_coords[i, start:stop] - current_ori) @ m2m3 + ori
820820

src/chilife/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
# SpinLabel = SpinLabel.SpinLabel
2727
# dSpinLabel = dSpinLabel.dSpinLabel
2828

29-
__version__ = '1.1.6'
29+
__version__ = '1.1.7'

tests/test_Scoring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_efunc_dlabel(func):
4040
f = chilife.ljEnergyFunc(func)
4141
test = f(dSL)
4242
ans = np.load(f'test_data/d{func.__name__}.npy')
43-
np.testing.assert_almost_equal(test, ans, decimal=4)
43+
np.testing.assert_almost_equal(test, ans, decimal=3)
4444

4545

4646
def test_molar_gas_constant():

0 commit comments

Comments
 (0)