pigeon-tem-comms 0.4.0__tar.gz → 0.4.1__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 (28) hide show
  1. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/PKG-INFO +1 -1
  2. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/TEM_comms/__init__.py +2 -0
  3. pigeon_tem_comms-0.4.1/TEM_comms/qc.py +6 -0
  4. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/pigeon_tem_comms.egg-info/PKG-INFO +1 -1
  5. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/pigeon_tem_comms.egg-info/SOURCES.txt +2 -0
  6. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/pyproject.toml +1 -1
  7. pigeon_tem_comms-0.4.1/tests/test_qc.py +8 -0
  8. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/LICENSE +0 -0
  9. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/README.md +0 -0
  10. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/TEM_comms/buffer.py +0 -0
  11. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/TEM_comms/camera.py +0 -0
  12. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/TEM_comms/montage.py +0 -0
  13. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/TEM_comms/scope.py +0 -0
  14. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/TEM_comms/stage/__init__.py +0 -0
  15. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/TEM_comms/stage/aperture.py +0 -0
  16. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/TEM_comms/stage/motion.py +0 -0
  17. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/TEM_comms/stage/rotation.py +0 -0
  18. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/TEM_comms/tile/__init__.py +0 -0
  19. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/TEM_comms/tile/statistics.py +0 -0
  20. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/TEM_comms/ui.py +0 -0
  21. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/pigeon_tem_comms.egg-info/dependency_links.txt +0 -0
  22. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/pigeon_tem_comms.egg-info/entry_points.txt +0 -0
  23. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/pigeon_tem_comms.egg-info/requires.txt +0 -0
  24. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/pigeon_tem_comms.egg-info/top_level.txt +0 -0
  25. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/setup.cfg +0 -0
  26. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/tests/test_buffer.py +0 -0
  27. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/tests/test_scope_command.py +0 -0
  28. {pigeon_tem_comms-0.4.0 → pigeon_tem_comms-0.4.1}/tests/test_ui.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pigeon-tem-comms
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Pigeon messages for the next generation TEM imaging system.
5
5
  Author-email: Cameron Devine <cameron.devine@alleninstitute.org>
6
6
  License: BSD 3 Clause
@@ -5,6 +5,7 @@ from . import stage
5
5
  from . import tile
6
6
  from . import ui
7
7
  from . import montage
8
+ from . import qc
8
9
 
9
10
 
10
11
  topics = {
@@ -34,4 +35,5 @@ topics = {
34
35
  "ui.setup": ui.Setup,
35
36
  "montage.start": montage.Start,
36
37
  "montage.finished": montage.Finished,
38
+ "qc.status": qc.Status,
37
39
  }
@@ -0,0 +1,6 @@
1
+ from pigeon import BaseMessage
2
+ from typing import Literal
3
+
4
+
5
+ class Status(BaseMessage):
6
+ state: Literal["GOOD", "STOP_AT_END", "STOP_NOW"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pigeon-tem-comms
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Pigeon messages for the next generation TEM imaging system.
5
5
  Author-email: Cameron Devine <cameron.devine@alleninstitute.org>
6
6
  License: BSD 3 Clause
@@ -5,6 +5,7 @@ TEM_comms/__init__.py
5
5
  TEM_comms/buffer.py
6
6
  TEM_comms/camera.py
7
7
  TEM_comms/montage.py
8
+ TEM_comms/qc.py
8
9
  TEM_comms/scope.py
9
10
  TEM_comms/ui.py
10
11
  TEM_comms/stage/__init__.py
@@ -20,5 +21,6 @@ pigeon_tem_comms.egg-info/entry_points.txt
20
21
  pigeon_tem_comms.egg-info/requires.txt
21
22
  pigeon_tem_comms.egg-info/top_level.txt
22
23
  tests/test_buffer.py
24
+ tests/test_qc.py
23
25
  tests/test_scope_command.py
24
26
  tests/test_ui.py
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pigeon-tem-comms"
3
- version = "0.4.0"
3
+ version = "0.4.1"
4
4
  authors = [
5
5
  { name="Cameron Devine", email="cameron.devine@alleninstitute.org" },
6
6
  ]
@@ -0,0 +1,8 @@
1
+ from TEM_comms.qc import Status
2
+ from pydantic import ValidationError
3
+ import pytest
4
+
5
+
6
+ def test_bad_status():
7
+ with pytest.raises(ValidationError):
8
+ Status(state="BAD")