Skip to content

Commit 791bbd4

Browse files
authored
Merge pull request #278 from OpenBioSim/release_2024.1.0
Release 2024.1.0
2 parents d25426d + 589cecc commit 791bbd4

File tree

266 files changed

+15610
-1828
lines changed

Some content is hidden

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

266 files changed

+15610
-1828
lines changed

.github/workflows/Sandpit_exs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
- name: Install dependency
3737
run: |
38-
mamba install -c conda-forge -c openbiosim/label/main biosimspace python=3.10 ambertools gromacs "sire=2023.4" "alchemlyb>=2.1" pytest openff-interchange pint=0.21 rdkit "jaxlib>0.3.7" tqdm
38+
mamba install -c conda-forge -c openbiosim/label/main biosimspace python=3.10 ambertools gromacs "sire=2023.5" "alchemlyb>=2.1" pytest openff-interchange pint=0.21 rdkit "jaxlib>0.3.7" tqdm
3939
python -m pip install git+https://github.com/Exscientia/MDRestraintsGenerator.git
4040
# For the testing of BSS.FreeEnergy.AlchemicalFreeEnergy.analysis
4141
python -m pip install https://github.com/alchemistry/alchemtest/archive/master.zip

.github/workflows/devel.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,21 @@ jobs:
1313
max-parallel: 9
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.9", "3.10", "3.11"]
16+
python-version: ["3.10", "3.11", "3.12"]
1717
platform:
1818
- { name: "windows", os: "windows-latest", shell: "pwsh" }
1919
- { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" }
2020
- { name: "macos", os: "macos-latest", shell: "bash -l {0}" }
2121
exclude:
22-
# Exclude all but the latest Python from all but Linux
22+
# Exclude all but the latest Python from all
23+
# but Linux
2324
- platform:
2425
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
25-
python-version: "3.9"
26+
python-version: "3.12" # MacOS can't run 3.12 yet... We want 3.10 and 3.11
2627
- platform: { name: "windows", os: "windows-latest", shell: "pwsh" }
27-
python-version: "3.9"
28-
- platform:
29-
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
3028
python-version: "3.10"
3129
- platform: { name: "windows", os: "windows-latest", shell: "pwsh" }
32-
python-version: "3.10"
30+
python-version: "3.11"
3331
environment:
3432
name: biosimspace-build
3533
defaults:
@@ -39,7 +37,7 @@ jobs:
3937
SIRE_DONT_PHONEHOME: 1
4038
SIRE_SILENT_PHONEHOME: 1
4139
steps:
42-
- uses: conda-incubator/setup-miniconda@v2
40+
- uses: conda-incubator/setup-miniconda@v3
4341
with:
4442
auto-update-conda: true
4543
python-version: ${{ matrix.python-version }}
@@ -52,7 +50,7 @@ jobs:
5250
run: git clone -b devel https://github.com/openbiosim/biosimspace
5351
#
5452
- name: Setup Conda
55-
run: mamba install -y -c conda-forge boa anaconda-client packaging=21 pip-requirements-parser
53+
run: mamba install -y -c conda-forge boa anaconda-client packaging pip-requirements-parser
5654
#
5755
- name: Update Conda recipe
5856
run: python ${{ github.workspace }}/biosimspace/actions/update_recipe.py

.github/workflows/main.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ jobs:
1616
max-parallel: 9
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.9", "3.10", "3.11"]
19+
python-version: ["3.10", "3.11", "3.12"]
2020
platform:
2121
- { name: "windows", os: "windows-latest", shell: "pwsh" }
2222
- { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" }
2323
- { name: "macos", os: "macos-latest", shell: "bash -l {0}" }
24+
exclude:
25+
- platform:
26+
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
27+
python-version: "3.12" # MacOS can't run 3.12 yet...
2428
environment:
2529
name: biosimspace-build
2630
defaults:
@@ -30,7 +34,7 @@ jobs:
3034
SIRE_DONT_PHONEHOME: 1
3135
SIRE_SILENT_PHONEHOME: 1
3236
steps:
33-
- uses: conda-incubator/setup-miniconda@v2
37+
- uses: conda-incubator/setup-miniconda@v3
3438
with:
3539
auto-update-conda: true
3640
python-version: ${{ matrix.python-version }}
@@ -43,7 +47,7 @@ jobs:
4347
run: git clone -b main https://github.com/openbiosim/biosimspace
4448
#
4549
- name: Setup Conda
46-
run: mamba install -y -c conda-forge boa anaconda-client packaging=21 pip-requirements-parser
50+
run: mamba install -y -c conda-forge boa anaconda-client packaging pip-requirements-parser
4751
#
4852
- name: Update Conda recipe
4953
run: python ${{ github.workspace }}/biosimspace/actions/update_recipe.py

.github/workflows/pr.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
max-parallel: 9
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.9", "3.10", "3.11"]
15+
python-version: ["3.10", "3.11", "3.12"]
1616
platform:
1717
- { name: "windows", os: "windows-latest", shell: "pwsh" }
1818
- { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" }
@@ -22,14 +22,14 @@ jobs:
2222
# but Linux
2323
- platform:
2424
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
25-
python-version: "3.9"
25+
python-version: "3.10"
2626
- platform: { name: "windows", os: "windows-latest", shell: "pwsh" }
27-
python-version: "3.9"
27+
python-version: "3.10"
2828
- platform:
2929
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
30-
python-version: "3.10"
30+
python-version: "3.12" # MacOS can't run 3.12 yet...
3131
- platform: { name: "windows", os: "windows-latest", shell: "pwsh" }
32-
python-version: "3.10"
32+
python-version: "3.11"
3333
environment:
3434
name: biosimspace-build
3535
defaults:
@@ -40,7 +40,7 @@ jobs:
4040
SIRE_SILENT_PHONEHOME: 1
4141
REPO: "${{ github.event.pull_request.head.repo.full_name || github.repository }}"
4242
steps:
43-
- uses: conda-incubator/setup-miniconda@v2
43+
- uses: conda-incubator/setup-miniconda@v3
4444
with:
4545
auto-update-conda: true
4646
python-version: ${{ matrix.python-version }}
@@ -53,7 +53,7 @@ jobs:
5353
run: git clone -b ${{ github.head_ref }} --single-branch https://github.com/${{ env.REPO }} biosimspace
5454
#
5555
- name: Setup Conda
56-
run: mamba install -y -c conda-forge boa anaconda-client packaging=21 pip-requirements-parser
56+
run: mamba install -y -c conda-forge boa anaconda-client packaging pip-requirements-parser
5757
#
5858
- name: Update Conda recipe
5959
run: python ${{ github.workspace }}/biosimspace/actions/update_recipe.py

README.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,35 +63,35 @@ Conda package
6363
The easiest way to install BioSimSpace is using our `conda channel <https://anaconda.org/openbiosim/repo>`__.
6464
BioSimSpace is built using dependencies from `conda-forge <https://conda-forge.org/>`__,
6565
so please ensure that the channel takes strict priority. We recommend using
66-
`Mambaforge <https://github.com/conda-forge/miniforge#mambaforge>`__.
66+
`Miniforge <https://github.com/conda-forge/miniforge>`__.
6767

6868
To create a new environment:
6969

7070
.. code-block:: bash
7171
72-
mamba create -n openbiosim -c conda-forge -c openbiosim biosimspace
73-
mamba activate openbiosim
72+
conda create -n openbiosim -c conda-forge -c openbiosim biosimspace
73+
conda activate openbiosim
7474
7575
To install the latest development version you can use:
7676

7777
.. code-block:: bash
7878
79-
mamba create -n openbiosim-dev -c conda-forge -c openbiosim/label/dev biosimspace
80-
mamba activate openbiosim-dev
79+
conda create -n openbiosim-dev -c conda-forge -c openbiosim/label/dev biosimspace
80+
conda activate openbiosim-dev
8181
8282
When updating the development version it is generally advised to update `Sire <https://github.com/openbiosim/sire>`_
8383
at the same time:
8484

8585
.. code-block:: bash
8686
87-
mamba update -c conda-forge -c openbiosim/label/dev biosimspace sire
87+
conda update -c conda-forge -c openbiosim/label/dev biosimspace sire
8888
8989
Unless you add the required channels to your Conda configuration, then you'll
9090
need to add them when updating, e.g., for the development package:
9191

9292
.. code-block:: bash
9393
94-
mamba update -c conda-forge -c openbiosim/label/dev biosimspace
94+
conda update -c conda-forge -c openbiosim/label/dev biosimspace
9595
9696
Installing from source
9797
^^^^^^^^^^^^^^^^^^^^^^
@@ -146,8 +146,8 @@ latest development code into that.
146146

147147
.. code-block:: bash
148148
149-
mamba create -n openbiosim-dev -c conda-forge -c openbiosim/label/dev biosimspace --only-deps
150-
mamba activate openbiosim-dev
149+
conda create -n openbiosim-dev -c conda-forge -c openbiosim/label/dev biosimspace --only-deps
150+
conda activate openbiosim-dev
151151
git clone https://github.com/openbiosim/biosimspace
152152
cd biosimspace/python
153153
BSS_SKIP_DEPENDENCIES=1 python setup.py develop

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ which will be released as 2023.1.X+1.
99

1010
| Version | Supported |
1111
| ------- | ------------------ |
12-
| 2023.1.x | :white_check_mark: |
13-
| < 2023.1.x| :x: |
12+
| 2023.5.x | :white_check_mark: |
13+
| < 2023.5.x| :x: |
1414

1515
## Reporting a Vulnerability
1616

doc/source/changelog.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,20 @@ company supporting open-source development of fostering academic/industrial coll
99
within the biomolecular simulation community. Our software is hosted via the `OpenBioSim`
1010
`GitHub <https://github.com/OpenBioSim/biosimspace>`__ organisation.
1111

12+
`2024.1.0 <https://github.com/openbiosim/biosimspace/compare/2023.5.1...2024.1.0>`_ - Apr 15 2024
13+
-------------------------------------------------------------------------------------------------
14+
15+
* Switch to using Langevin integrator for GROMACS free energy simulations (`#264 <https://github.com/OpenBioSim/biosimspace/pull/264>`__).
16+
* Add support for clearing and disabling the IO file cache (`#266 <https://github.com/OpenBioSim/biosimspace/pull/266>`__).
17+
* Add support for using ``openff-nagl`` to generate partial charges (`#267 <https://github.com/OpenBioSim/biosimspace/pull/267>`__).
18+
* Fixed non-reproducible search for backbone restraint atom indices (`#270 <https://github.com/OpenBioSim/biosimspace/pull/270>`__).
19+
* Add support for AMBER as an alchemical free-energy simulation engine (`#272 <https://github.com/OpenBioSim/biosimspace/pull/272>`__).
20+
* Switch to using ``os.path.join`` to generate directory file names (`#276 <https://github.com/OpenBioSim/biosimspace/pull/276>`__).
21+
* Make sure the ``fileformat`` property is preserved when creating single molecule systems (`#276 <https://github.com/OpenBioSim/biosimspace/pull/276>`__).
22+
* Add a ``getRestraintType`` method to the base protocol that returns ``None`` (`#276 <https://github.com/OpenBioSim/biosimspace/pull/276>`__).
23+
* Add missing ``themostat_time_constant`` kwarg to the :class:`Metadynamics <BioSimSpace.Protocol.Metdynamics>` protocol (`#276 <https://github.com/OpenBioSim/biosimspace/pull/276>`__).
24+
25+
1226
`2023.5.1 <https://github.com/openbiosim/biosimspace/compare/2023.5.0...2023.5.1>`_ - Mar 20 2024
1327
-------------------------------------------------------------------------------------------------
1428

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
# General information about the project.
4545
project = "biosimspace"
46-
copyright = "2017-2023"
46+
copyright = "2017-2024"
4747

4848
# The version info for the project you're documenting, acts as replacement for
4949
# |version| and |release|, also used in various other places throughout the

doc/source/contributing/packaging.rst

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@
44
Development process
55
===================
66

7-
:mod:`BioSimSpace` uses a ``main``, ``devel`` and ``future`` development process,
7+
:mod:`BioSimSpace` uses a ``main`` and ``devel`` development process,
88
using feature branches for all code development.
99

1010
* ``main`` - this always contains the latest official release.
1111
* ``devel`` - this always contains the latest development release, which will become the next official release.
12-
* ``future`` - this contains pull requests that have been accepted, but which are targetted for a future release (i.e. not the next official release)
1312

1413
Code should be developed on a fork or in a feature branch called ``feature_{feature}``.
1514
When your feature is ready, please submit a pull request against ``devel``. This
@@ -27,29 +26,8 @@ tests, examples and/or tutorial instructions.
2726
the tutorials or writing a detailed description for the website.
2827

2928
Assuming the CI completes successfully, then one of the release team will
30-
conduct a code review. The outcome of the review will be one of the following;
31-
32-
1. This feature is ready, and should be part of the next official release. The pull request
33-
will be accepted into ``devel``. This will trigger our CI/CD process, building the new dev
34-
package and uploading it to `anaconda.org <https://anaconda.org/openbiosim/biosimspace>`__
35-
for everyone to use.
36-
37-
2. This feature is good, but it is not yet ready to be part of the next offical release. This
38-
could be because the feature is part of a series, and all of the series need to be finished
39-
before release. Or because we are in a feature freeze period. Or because you want more time
40-
for people to explore and play with the feature before it is officially released (and would
41-
then need to be supported, and backwards compatibility maintained). If this is the case (or
42-
it is your request) then the pull request will be redirected into the ``future`` branch.
43-
Once it (and features that depend on it) are ready, you can then issue a pull request for
44-
all of the features at once into ``devel``. It will be noted that each of the individual
45-
parts have already been code reviewed, so the process to accept the combination
46-
into ``devel`` should be more straightforward.
47-
48-
3. This feature is good, but more work is needed before it can be accepted. This could be
49-
because some of the unit tests haven't passed, or the latest version of ``devel`` hasn't
50-
been merged. Or there may be changes that are requested that would make the code easier
51-
to maintain or to preserve backwards compatibility. If this is the case, then we
52-
will engage in conversation with you and will work together to rectify any issues.
29+
conduct a code review, with the code being merged into ``devel`` if it is
30+
approved.
5331

5432
Bug fixes or issue fixes are developed on fix branches, called ``fix_{number}`` (again in
5533
either the main repository or forks). If no `issue thread <https://github.com/OpenBioSim/biosimspace/issues>`__

doc/source/contributing/roadmap.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ You can keep up with what we are working on in several ways;
7676
* Keep an eye on the various ``feature_X`` branches as they appear in the repository. Feel free to initiate
7777
a conversation on GitHub with the developer who is working on that branch if you want to learn more, or
7878
want to make suggestions or offer a helping hand.
79-
* Clone and build your own copy of the ``future`` branch. This is the bleeding edge, and things may change and break.
80-
But it is the earliest way to use the future version of :mod:`BioSimSpace`.
8179

8280
Wishlists / suggestions
8381
=======================

0 commit comments

Comments
 (0)