pymodaq_plugins_utils 5.0.6__tar.gz → 5.0.7__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.
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/.github/workflows/Testbase.yml +2 -2
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/.github/workflows/compatibility.yml +2 -2
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/.github/workflows/python-publish.yml +2 -2
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/.github/workflows/updater.yml +1 -1
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/PKG-INFO +1 -1
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/hardware/camera_base_pylablib.py +5 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/.gitattributes +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/.github/workflows/Test.yml +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/.gitignore +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/LICENSE +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/README.rst +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/hatch_build.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/icon.ico +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/pyproject.toml +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/app/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/exporters/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/extensions/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/extensions/custom_extension_template.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/hardware/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/hardware/base.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/hardware/serial_ports.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/hardware/visa.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/models/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/resources/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/resources/config_template.toml +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/scanners/__init__.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/utils.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/tests/hardware_test.py +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/tests/import_report_pymodaq_plugins_utils_None.txt +0 -0
- {pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/tests/test_plugin_package_structure.py +0 -0
|
@@ -18,9 +18,9 @@ jobs:
|
|
|
18
18
|
QT_DEBUG_PLUGINS: 1
|
|
19
19
|
steps:
|
|
20
20
|
- name: Set up Python ${{ inputs.python }}
|
|
21
|
-
uses: actions/checkout@
|
|
21
|
+
uses: actions/checkout@v7.0.1
|
|
22
22
|
- name: Install dependencies
|
|
23
|
-
uses: actions/setup-python@
|
|
23
|
+
uses: actions/setup-python@v7.0.0
|
|
24
24
|
with:
|
|
25
25
|
python-version: ${{ inputs.python }}
|
|
26
26
|
- name: Install package
|
{pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/.github/workflows/compatibility.yml
RENAMED
|
@@ -36,10 +36,10 @@ jobs:
|
|
|
36
36
|
echo "plugin_name=$(echo '${{ github.repository }}' | cut -d'/' -f2)" >> $GITHUB_ENV
|
|
37
37
|
|
|
38
38
|
- name: Checkout the repo
|
|
39
|
-
uses: actions/checkout@
|
|
39
|
+
uses: actions/checkout@v7.0.1
|
|
40
40
|
|
|
41
41
|
- name: Set up Python ${{ matrix.python-version }}
|
|
42
|
-
uses: actions/setup-python@
|
|
42
|
+
uses: actions/setup-python@v7.0.0
|
|
43
43
|
with:
|
|
44
44
|
python-version: ${{ matrix.python-version }}
|
|
45
45
|
|
{pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/.github/workflows/python-publish.yml
RENAMED
|
@@ -13,9 +13,9 @@ jobs:
|
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
|
|
15
15
|
steps:
|
|
16
|
-
- uses: actions/checkout@
|
|
16
|
+
- uses: actions/checkout@v7.0.1
|
|
17
17
|
- name: Set up Python
|
|
18
|
-
uses: actions/setup-python@
|
|
18
|
+
uses: actions/setup-python@v7.0.0
|
|
19
19
|
with:
|
|
20
20
|
python-version: '3.13'
|
|
21
21
|
- name: Install dependencies
|
|
@@ -86,6 +86,11 @@ class CameraCallback(QtCore.QObject):
|
|
|
86
86
|
while ind_frames < mode.nframes:
|
|
87
87
|
self.controller.wait_for_frame(since='now')
|
|
88
88
|
new_frames, rng = self.controller.read_multiple_images(missing_frame='skip', return_rng=True)
|
|
89
|
+
|
|
90
|
+
# in case hardware has a random buffer size (ex: Andor CCD cameras)
|
|
91
|
+
if new_frames.shape[0] != mode.nframes:
|
|
92
|
+
new_frames = np.expand_dims(new_frames[-mode.nframes:], axis=0)
|
|
93
|
+
|
|
89
94
|
if ind_average == 0 and ind_frames == 0:
|
|
90
95
|
shape = list(new_frames.shape[1:])
|
|
91
96
|
shape = [mode.n_average, mode.nframes] + shape
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/src/pymodaq_plugins_utils/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pymodaq_plugins_utils-5.0.6 → pymodaq_plugins_utils-5.0.7}/tests/test_plugin_package_structure.py
RENAMED
|
File without changes
|