Skip to content

Commit bce30a6

Browse files
author
Matthew
committed
Merge branch 'devel' into fix_470
2 parents 7ea9f19 + 1c1aded commit bce30a6

6 files changed

Lines changed: 28 additions & 5 deletions

File tree

doc/source/changelog.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,18 @@ 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-
`2025.2.0 <https://github.com/openbiosim/biosimspace/compare/2024.5.0...2025.2.0>`_ - Oct 08 2025
12+
`2025.3.0 <https://github.com/openbiosim/biosimspace/compare/2025.2.0...2025.3.0>`_ - Nov 10 2025
13+
-------------------------------------------------------------------------------------------------
14+
15+
* Fixed bug that caused trajectory frame reconstruction to be skipped for perturbable systems (`#460 <https://github.com/OpenBioSim/biosimspace/pull/460>`__).
16+
* Fixed typo in RDKit ``rdMolDraw2D`` attribute name (`#463 <https://github.com/OpenBioSim/biosimspace/pull/463>`__).
17+
* Fix incorrect context manager name in node runner (`#463 <https://github.com/OpenBioSim/biosimspace/pull/463>`__).
18+
* Added functionality for quickly getting and setting the coordinates array of a :class:`System <BioSimSpace._SireWrappers.System>` (`#465 <https://github.com/OpenBioSim/biosimspace/pull/465>`__).
19+
* Reduce depdency import overheads by switching from module level imports to function and method level (`#466 <https://github.com/OpenBioSim/biosimspace/pull/466>`__).
20+
* Fully switch over to using the new Sire Python API naming convention, allowing BioSimSpace to be used within Sire (`#466 <https://github.com/OpenBioSim/biosimspace/pull/466>`__).
21+
* Fixed logic used for setting the GPU device index for :class:`Process.OpenMM <BioSimSpace.Process.OpenMM>` (`#468 <https://github.com/OpenBioSim/biosimspace/pull/468>`__).
22+
23+
`2025.2.0 <https://github.com/openbiosim/biosimspace/compare/2025.1.0...2025.2.0>`_ - Oct 08 2025
1324
-------------------------------------------------------------------------------------------------
1425

1526
* Add support for ``SOMD2`` FEP analysis using data frames with different numbers of samples (`#415 <https://github.com/OpenBioSim/biosimspace/pull/415>`__).

python/BioSimSpace/Convert/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
:toctree: generated/
3030
3131
smiles
32-
supported_formats
32+
supportedFormats
3333
to
3434
toBioSimSpace
3535
toOpenMM

python/BioSimSpace/Process/_openmm.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,6 +2037,9 @@ def _add_config_platform(self):
20372037
"'CUDA' platform selected but 'CUDA_VISIBLE_DEVICES' "
20382038
"environment variable is unset. Defaulting to '0'."
20392039
)
2040+
else:
2041+
num_devices = len(cuda_devices.split(","))
2042+
cuda_devices = ",".join([str(x) for x in range(num_devices)])
20402043
self.addToConfig("properties = {'CudaDeviceIndex': '%s'}" % cuda_devices)
20412044
elif self._platform == "OPENCL":
20422045
opencl_devices = _os.environ.get("OPENCL_VISIBLE_DEVICES")
@@ -2046,6 +2049,9 @@ def _add_config_platform(self):
20462049
"'OpenCL' platform selected but 'OPENCL_VISIBLE_DEVICES' "
20472050
"environment variable is unset. Defaulting to '0'."
20482051
)
2052+
else:
2053+
num_devices = len(opencl_devices.split(","))
2054+
opencl_devices = ",".join([str(x) for x in range(num_devices)])
20492055
self.addToConfig(
20502056
"properties = {'OpenCLDeviceIndex': '%s'}" % opencl_devices
20512057
)

python/BioSimSpace/Sandpit/Exscientia/Convert/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
:toctree: generated/
3030
3131
smiles
32-
supported_formats
32+
supportedFormats
3333
to
3434
toBioSimSpace
3535
toOpenMM

python/BioSimSpace/Sandpit/Exscientia/Process/_openmm.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,6 +1984,9 @@ def _add_config_platform(self):
19841984
"'CUDA' platform selected but 'CUDA_VISIBLE_DEVICES' "
19851985
"environment variable is unset. Defaulting to '0'."
19861986
)
1987+
else:
1988+
num_devices = len(cuda_devices.split(","))
1989+
cuda_devices = ",".join([str(x) for x in range(num_devices)])
19871990
self.addToConfig("properties = {'CudaDeviceIndex': '%s'}" % cuda_devices)
19881991
elif self._platform == "OPENCL":
19891992
opencl_devices = _os.environ.get("OPENCL_VISIBLE_DEVICES")
@@ -1993,6 +1996,9 @@ def _add_config_platform(self):
19931996
"'OpenCL' platform selected but 'OPENCL_VISIBLE_DEVICES' "
19941997
"environment variable is unset. Defaulting to '0'."
19951998
)
1999+
else:
2000+
num_devices = len(opencl_devices.split(","))
2001+
opencl_devices = ",".join([str(x) for x in range(num_devices)])
19962002
self.addToConfig(
19972003
"properties = {'OpenCLDeviceIndex': '%s'}" % opencl_devices
19982004
)

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# BioSimSpace runtime requirements.
22

33
# main
4-
#sire~=2025.2.0
4+
#sire~=2025.3.0
55

66
# devel
7-
sire==2025.3.0.dev
7+
sire==2025.4.0.dev
88

99
configargparse
1010
ipywidgets

0 commit comments

Comments
 (0)