pigeon-tem-comms 1.0.0__tar.gz → 1.1.0__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.
- {pigeon_tem_comms-1.0.0/pigeon_tem_comms.egg-info → pigeon_tem_comms-1.1.0}/PKG-INFO +1 -1
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/camera.py +2 -3
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0/pigeon_tem_comms.egg-info}/PKG-INFO +1 -1
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/pigeon_tem_comms.egg-info/SOURCES.txt +1 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/pyproject.toml +1 -1
- pigeon_tem_comms-1.1.0/tests/test_camera.py +42 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/LICENSE +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/README.md +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/__init__.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/buffer.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/montage.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/qc.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/roi.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/scope.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/stage/__init__.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/stage/aperture.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/stage/motion.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/stage/rotation.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/tile/__init__.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/tile/metadata.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/tile/statistics.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/TEM_comms/ui.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/pigeon_tem_comms.egg-info/dependency_links.txt +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/pigeon_tem_comms.egg-info/entry_points.txt +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/pigeon_tem_comms.egg-info/requires.txt +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/pigeon_tem_comms.egg-info/top_level.txt +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/setup.cfg +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/tests/test_buffer.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/tests/test_qc.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/tests/test_scope_command.py +0 -0
- {pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/tests/test_ui.py +0 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
from pigeon import BaseMessage
|
|
2
|
+
from .tile.metadata import TileMetadata
|
|
2
3
|
from typing import Optional
|
|
3
4
|
|
|
4
5
|
|
|
5
|
-
class Command(
|
|
6
|
-
tile_id: str
|
|
7
|
-
montage_id: str
|
|
6
|
+
class Command(TileMetadata):
|
|
8
7
|
brightfield: Optional[bool] = False
|
|
9
8
|
darkfield: Optional[bool] = False
|
|
10
9
|
lens_correction: Optional[bool] = True
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
from TEM_comms.camera import Command
|
|
2
|
+
from pytest import mark
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
@mark.parametrize(
|
|
6
|
+
"data",
|
|
7
|
+
[
|
|
8
|
+
{
|
|
9
|
+
"montage_id": "a montage id",
|
|
10
|
+
"tile_id": "a tile id",
|
|
11
|
+
"row": 1,
|
|
12
|
+
"column": 2,
|
|
13
|
+
"overlap": 100,
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"montage_id": "a montage id",
|
|
17
|
+
"tile_id": "a tile id",
|
|
18
|
+
"row": 1,
|
|
19
|
+
"column": 2,
|
|
20
|
+
"overlap": 100,
|
|
21
|
+
"darkfield": True,
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"montage_id": "a montage id",
|
|
25
|
+
"tile_id": "a tile id",
|
|
26
|
+
"row": 1,
|
|
27
|
+
"column": 2,
|
|
28
|
+
"overlap": 100,
|
|
29
|
+
"brightfield": True,
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"montage_id": "a montage id",
|
|
33
|
+
"tile_id": "a tile id",
|
|
34
|
+
"row": 1,
|
|
35
|
+
"column": 2,
|
|
36
|
+
"overlap": 100,
|
|
37
|
+
"lens_correction": False,
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
)
|
|
41
|
+
def test_command(data):
|
|
42
|
+
Command(**data)
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/pigeon_tem_comms.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{pigeon_tem_comms-1.0.0 → pigeon_tem_comms-1.1.0}/pigeon_tem_comms.egg-info/entry_points.txt
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
|