mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-12-02 02:57:47 +01:00
Merge branch '10.1.0.rc' into 10.1.0/release_notes
This commit is contained in:
10 files changed
+18
-15
No files matched your search
@@ -11,7 +11,7 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-24.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
|
||||
+2
-2
@@ -57,7 +57,7 @@ endif()
|
||||
# Patch libzmq to set minimum cmake version to 3.15 to avoid warnings
|
||||
# with newer cmake versions
|
||||
# Patch is applied in the FetchContent_Declare
|
||||
set(SLS_LIBZMQ_VERSION "4.3.4")
|
||||
set(SLS_LIBZMQ_VERSION "4.3.5")
|
||||
|
||||
find_program(PATCH_EXECUTABLE patch)
|
||||
if(NOT PATCH_EXECUTABLE)
|
||||
@@ -139,7 +139,7 @@ else()
|
||||
FetchContent_Declare(
|
||||
libzmq
|
||||
URL ${CMAKE_CURRENT_SOURCE_DIR}/libs/libzmq/libzmq-${SLS_LIBZMQ_VERSION}.tar.gz
|
||||
URL_HASH MD5=cc20b769ac10afa352e5ed2769bb23b3
|
||||
URL_HASH MD5=cfb80c6ad694cacc2f7c99bf44e8b686
|
||||
PATCH_COMMAND ${CMAKE_COMMAND} -E chdir <SOURCE_DIR> patch -p1 < ${CMAKE_CURRENT_SOURCE_DIR}/libs/libzmq/libzmq_cmake_version.patch
|
||||
UPDATE_DISCONNECTED 1
|
||||
)
|
||||
|
||||
@@ -86,7 +86,7 @@ To use the basic building blocks, meaning sls_detector_get/put and the shared li
|
||||
|
||||
Additionally the core requires the following dependencies:
|
||||
|
||||
* ZeroMQ 4.3.4 (packaged in libs)
|
||||
* ZeroMQ 4.3.5 (packaged in libs)
|
||||
* rapidjson 1.1.0 (packaged in libs)
|
||||
|
||||
> **Note:** Both ZeroMQ and rapidjson are bundled in libs. One does not need to pre-install them on the system. Alternatively, one can fetch ZeroMQ from GitHub by passing the cmake options ``-DSLS_FETCH_ZEROMQ_FROM_GITHUB=ON``.
|
||||
@@ -350,8 +350,8 @@ git submodule update --init
|
||||
|
||||
### Zeromq
|
||||
**v8.0.0+**:
|
||||
zeromq (v4.3.4) is built
|
||||
* by default from tar file in repo (libs/libzmq/libzmq-4.3.4.tar.gz)
|
||||
zeromq (v4.3.5) is built
|
||||
* by default from tar file in repo (libs/libzmq/libzmq-4.3.5.tar.gz)
|
||||
* or use advanced option SLS_FETCH_ZMQ_FROM_GITHUB [link].
|
||||
|
||||
**v7.x.x and older**:
|
||||
|
||||
@@ -23,7 +23,7 @@ the shared libraries these are needed:
|
||||
|
||||
Additionally the core requires the following dependencies:
|
||||
|
||||
* ZeroMQ 4.3.4 (packaged in libs)
|
||||
* ZeroMQ 4.3.5 (packaged in libs)
|
||||
* rapidjson 1.1.0 (packaged in libs)
|
||||
|
||||
.. note::
|
||||
|
||||
@@ -425,8 +425,8 @@ is to use conda
|
||||
|
||||
| **Zeromq**
|
||||
| v8.0.0+:
|
||||
| zeromq (v4.3.4) is built
|
||||
| * by default from tar file in repo (libs/libzmq/libzmq-4.3.4.tar.gz)
|
||||
| zeromq (v4.3.5) is built
|
||||
| * by default from tar file in repo (libs/libzmq/libzmq-4.3.5.tar.gz)
|
||||
| * or use advanced option SLS_FETCH_ZMQ_FROM_GITHUB [`link <https://github.com/zeromq/libzmq.git>`__].
|
||||
|
|
||||
| v7.x.x and older:
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+3
-2
@@ -1,11 +1,12 @@
|
||||
[tool.scikit-build.metadata.version]
|
||||
[[tool.dynamic-metadata]]
|
||||
provider = "scikit_build_core.metadata.regex"
|
||||
field = "version"
|
||||
input = "VERSION"
|
||||
regex = '^(?P<version>\d+(?:\.\d+)*(?:[\.\+\w]+)?)$'
|
||||
result = "{version}"
|
||||
|
||||
[build-system]
|
||||
requires = [ "scikit-build-core>=0.10", "pybind11", "numpy",]
|
||||
requires = [ "scikit-build-core>=1.1", "pybind11", "numpy",]
|
||||
build-backend = "scikit_build_core.build"
|
||||
|
||||
[project]
|
||||
|
||||
@@ -831,10 +831,10 @@ class Detector(CppDetectorApi):
|
||||
Note
|
||||
----
|
||||
Sets up the following for every module:\n
|
||||
\t\t[Eiger] txdelay_left to (2 \* mod_index \* n_delay), \n
|
||||
\t\t[Eiger] txdelay_right to ((2 \* mod_index + 1) \* n_delay) and \n
|
||||
\t\t[Eiger] txdelay_frame to (2 \* num_modules \* n_delay) \n
|
||||
\t\t[Jungfrau][Moench][Mythen3] txdelay_frame to (num_modules \* n_delay)\n\n
|
||||
\t\t[Eiger] txdelay_left to (2 * mod_index * n_delay), \n
|
||||
\t\t[Eiger] txdelay_right to ((2 * mod_index + 1) * n_delay) and \n
|
||||
\t\t[Eiger] txdelay_frame to (2 * num_modules * n_delay) \n
|
||||
\t\t[Jungfrau][Moench][Mythen3] txdelay_frame to (num_modules * n_delay)\n\n
|
||||
Please refer txdelay_left, txdelay_right and txdelay_frame for details.
|
||||
"""
|
||||
return self.getTransmissionDelay()
|
||||
|
||||
@@ -944,6 +944,8 @@ void init_det(py::module &m) {
|
||||
py::arg());
|
||||
CppDetectorApi.def("clearRxROI",
|
||||
(void (Detector::*)()) & Detector::clearRxROI);
|
||||
CppDetectorApi.def("isCompleteRxRoi", (bool (Detector::*)() const) &
|
||||
Detector::isCompleteRxRoi);
|
||||
CppDetectorApi.def(
|
||||
"getFileFormat",
|
||||
(Result<defs::fileFormat>(Detector::*)(sls::Positions) const) &
|
||||
|
||||
Reference in new issue
Block a user