lima2.client 4.0.2__tar.gz → 4.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. {lima2_client-4.0.2/src/lima2_client.egg-info → lima2_client-4.0.3}/PKG-INFO +2 -10
  2. {lima2_client-4.0.2 → lima2_client-4.0.3}/conda/meta.yaml +3 -0
  3. {lima2_client-4.0.2 → lima2_client-4.0.3}/conda/run_test.sh +2 -0
  4. {lima2_client-4.0.2 → lima2_client-4.0.3}/pyproject.toml +2 -2
  5. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/processing/pipeline.py +5 -0
  6. {lima2_client-4.0.2 → lima2_client-4.0.3/src/lima2_client.egg-info}/PKG-INFO +2 -10
  7. {lima2_client-4.0.2 → lima2_client-4.0.3}/.gitignore +0 -0
  8. {lima2_client-4.0.2 → lima2_client-4.0.3}/.gitlab-ci.yml +0 -0
  9. {lima2_client-4.0.2 → lima2_client-4.0.3}/LICENSE +0 -0
  10. {lima2_client-4.0.2 → lima2_client-4.0.3}/README.md +0 -0
  11. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/assets/lima2-components-and-repos.svg +0 -0
  12. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/assets/lima2-conductor-communication-model.svg +0 -0
  13. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/assets/lima2-conductor-modules.svg +0 -0
  14. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/assets/logo-transparent-crop.png +0 -0
  15. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/concepts.md +0 -0
  16. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/contact.md +0 -0
  17. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/dev/conductor_client.md +0 -0
  18. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/dev/conductor_design.md +0 -0
  19. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/dev/conductor_requirements.md +0 -0
  20. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/dev/index.md +0 -0
  21. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/features.md +0 -0
  22. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/getting_started.md +0 -0
  23. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/index.md +0 -0
  24. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/license.md +0 -0
  25. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/monitor.md +0 -0
  26. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/reference/acquisition.md +0 -0
  27. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/reference/detector.md +0 -0
  28. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/reference/exceptions.md +0 -0
  29. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/reference/index.md +0 -0
  30. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/reference/pipeline.md +0 -0
  31. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/reference/session.md +0 -0
  32. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/release_notes.md +0 -0
  33. {lima2_client-4.0.2 → lima2_client-4.0.3}/docs/shell.md +0 -0
  34. {lima2_client-4.0.2 → lima2_client-4.0.3}/flake8.ini +0 -0
  35. {lima2_client-4.0.2 → lima2_client-4.0.3}/mkdocs.yml +0 -0
  36. {lima2_client-4.0.2 → lima2_client-4.0.3}/scripts/cleanup_processing_ds.py +0 -0
  37. {lima2_client-4.0.2 → lima2_client-4.0.3}/setup.cfg +0 -0
  38. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/client/__init__.py +0 -0
  39. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/client/exceptions.py +0 -0
  40. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/client/py.typed +0 -0
  41. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/client/services.py +0 -0
  42. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/client/session.py +0 -0
  43. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/client/shell.py +0 -0
  44. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/__init__.py +0 -0
  45. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/devencoded/__init__.py +0 -0
  46. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/devencoded/dense_frame.py +0 -0
  47. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/devencoded/exception.py +0 -0
  48. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/devencoded/smx_sparse_frame.py +0 -0
  49. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/devencoded/sparse_frame.py +0 -0
  50. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/devencoded/structured_array.py +0 -0
  51. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/exceptions.py +0 -0
  52. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/pipelines.py +0 -0
  53. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/progress_counter.py +0 -0
  54. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/py.typed +0 -0
  55. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/state.py +0 -0
  56. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/common/types.py +0 -0
  57. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/__init__.py +0 -0
  58. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/acquisition_system.py +0 -0
  59. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/processing/__init__.py +0 -0
  60. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/processing/failing.py +0 -0
  61. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/processing/legacy.py +0 -0
  62. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/processing/master_file.py +0 -0
  63. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/processing/reduced_data.py +0 -0
  64. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/processing/smx.py +0 -0
  65. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/processing/xpcs.py +0 -0
  66. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/py.typed +0 -0
  67. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/tango/__init__.py +0 -0
  68. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/tango/control.py +0 -0
  69. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/tango/processing.py +0 -0
  70. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/tango/receiver.py +0 -0
  71. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/tango/utils.py +0 -0
  72. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/topology.py +0 -0
  73. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/utils.py +0 -0
  74. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/webservice/__init__.py +0 -0
  75. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/webservice/acquisition.py +0 -0
  76. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/webservice/benchmark.py +0 -0
  77. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/webservice/benchmark_generators/__init__.py +0 -0
  78. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/webservice/benchmark_generators/rois.py +0 -0
  79. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/webservice/cli.py +0 -0
  80. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/webservice/detector.py +0 -0
  81. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/webservice/main.py +0 -0
  82. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/webservice/pipeline.py +0 -0
  83. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/webservice/utils.py +0 -0
  84. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2/conductor/webservice/webapp.py +0 -0
  85. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2_client.egg-info/SOURCES.txt +0 -0
  86. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2_client.egg-info/dependency_links.txt +0 -0
  87. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2_client.egg-info/entry_points.txt +0 -0
  88. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2_client.egg-info/requires.txt +0 -0
  89. {lima2_client-4.0.2 → lima2_client-4.0.3}/src/lima2_client.egg-info/top_level.txt +0 -0
  90. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/__init__.py +0 -0
  91. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/integration/__init__.py +0 -0
  92. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/integration/conftest.py +0 -0
  93. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/integration/tango_db/simulator_ctl.yaml +0 -0
  94. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/integration/tango_db/simulator_rcv1.yaml +0 -0
  95. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/integration/tango_db/simulator_rcv2.yaml +0 -0
  96. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/integration/test_failing.py +0 -0
  97. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/integration/test_legacy.py +0 -0
  98. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/__init__.py +0 -0
  99. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/client/__init__.py +0 -0
  100. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/client/conftest.py +0 -0
  101. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/client/test_acquisition.py +0 -0
  102. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/client/test_detector.py +0 -0
  103. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/client/test_pipeline.py +0 -0
  104. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/client/test_session.py +0 -0
  105. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/common/__init__.py +0 -0
  106. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/common/test_dense_frame.py +0 -0
  107. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/common/test_progress_counter.py +0 -0
  108. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/common/test_smx_sparse_frame.py +0 -0
  109. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/common/test_sparse_frame.py +0 -0
  110. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/common/test_state.py +0 -0
  111. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/__init__.py +0 -0
  112. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/mock_devencoded.py +0 -0
  113. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/mock_devices.py +0 -0
  114. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/test_acquisition_system.py +0 -0
  115. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/test_master_file.py +0 -0
  116. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/test_pipeline.py +0 -0
  117. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/test_processing.py +0 -0
  118. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/test_reduced_data.py +0 -0
  119. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/test_tango_devices.py +0 -0
  120. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/test_topology.py +0 -0
  121. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/test_utils.py +0 -0
  122. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/webservice/__init__.py +0 -0
  123. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/webservice/test_acquisition.py +0 -0
  124. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/webservice/test_benchmark.py +0 -0
  125. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/webservice/test_detector.py +0 -0
  126. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/webservice/test_pipelines.py +0 -0
  127. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/webservice/test_utils.py +0 -0
  128. {lima2_client-4.0.2 → lima2_client-4.0.3}/tests/unit/conductor/webservice/test_webapp.py +0 -0
@@ -1,20 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lima2-client
3
- Version: 4.0.2
3
+ Version: 4.0.3
4
4
  Summary: Python client library for Lima2 detector
5
5
  Author: BCU (ESRF)
6
- License: Copyright (c) 2020-2024 Beamline Control Unit, ESRF
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11
-
12
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13
-
6
+ License-Expression: MIT
14
7
  Project-URL: Repository, https://gitlab.esrf.fr/limagroup/lima2-client
15
8
  Project-URL: Documentation, https://limagroup.gitlab-pages.esrf.fr/lima2-client/
16
9
  Classifier: Intended Audience :: Science/Research
17
- Classifier: License :: OSI Approved :: MIT License
18
10
  Classifier: Programming Language :: Python :: 3
19
11
  Requires-Python: >=3.10
20
12
  Description-Content-Type: text/markdown
@@ -16,6 +16,8 @@ build:
16
16
  number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
17
17
  noarch: python
18
18
  script: "{{ PYTHON }} -m pip install . -vv"
19
+ script_env:
20
+ - SETUPTOOLS_SCM_PRETEND_VERSION={{ version }}
19
21
  entry_points:
20
22
  - lima2-conductor = lima2.conductor.webservice.cli:cli
21
23
  - lima2-shell = lima2.client.shell:app
@@ -24,6 +26,7 @@ requirements:
24
26
  host:
25
27
  - python>=3.10
26
28
  - setuptools
29
+ - setuptools_scm
27
30
  run:
28
31
  - h5py
29
32
  - jsonschema
@@ -2,6 +2,8 @@
2
2
  #
3
3
  # Run lima2-client unit and integration tests
4
4
 
5
+ pip check
6
+
5
7
  pytest tests/unit
6
8
 
7
9
  # (Only available from PyPI)
@@ -12,10 +12,10 @@ dynamic = ["version"]
12
12
  authors = [{ name = "BCU (ESRF)" }]
13
13
  description = "Python client library for Lima2 detector"
14
14
  readme = "README.md"
15
- license = { file = "LICENSE" }
15
+ license = "MIT"
16
+ license-files = ["LICENSE"]
16
17
  classifiers = [
17
18
  "Intended Audience :: Science/Research",
18
- "License :: OSI Approved :: MIT License",
19
19
  "Programming Language :: Python :: 3",
20
20
  ]
21
21
  dependencies = [
@@ -503,6 +503,11 @@ class Pipeline:
503
503
  async def close(self) -> None:
504
504
  """Wait for the reduced data subtasks to finish."""
505
505
 
506
+ if self.close_event.is_set():
507
+ logger.warning("Pipeline.close() was already called. Ignoring.")
508
+ # TODO(mdu) better state handling
509
+ return
510
+
506
511
  # Signal end to frame index iteration (single, round robin)
507
512
  self.close_event.set()
508
513
 
@@ -1,20 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lima2-client
3
- Version: 4.0.2
3
+ Version: 4.0.3
4
4
  Summary: Python client library for Lima2 detector
5
5
  Author: BCU (ESRF)
6
- License: Copyright (c) 2020-2024 Beamline Control Unit, ESRF
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11
-
12
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13
-
6
+ License-Expression: MIT
14
7
  Project-URL: Repository, https://gitlab.esrf.fr/limagroup/lima2-client
15
8
  Project-URL: Documentation, https://limagroup.gitlab-pages.esrf.fr/lima2-client/
16
9
  Classifier: Intended Audience :: Science/Research
17
- Classifier: License :: OSI Approved :: MIT License
18
10
  Classifier: Programming Language :: Python :: 3
19
11
  Requires-Python: >=3.10
20
12
  Description-Content-Type: text/markdown
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes