Commit graph

13 commits

Author SHA1 Message Date
Julian Stirling
d7d1f42b2c Enable PyTest ruff checks 2025-09-18 16:21:45 +01:00
Julian Stirling
6142a267db Add flake8 bugbear checks 2025-08-12 13:09:43 +01:00
Julian Stirling
58e3b5dcbd Start adding stage test and apply fixes to base class 2025-08-05 08:30:54 +01:00
Julian Stirling
531e5c27b2 Replace LoggingMoveWrapper with RecordedMove accepts a stage rather than an arbitrary move function
This was needed to get the correct key word arguments
2025-07-13 23:34:55 +01:00
Julian Stirling
14359e73bb Add public method docstrings. 2025-07-10 15:12:28 +01:00
Julian Stirling
2cb4003835 Add module level docstrings. 2025-07-10 09:24:50 +01:00
Julian Stirling
52a80ef66b And adjust for new as lt import 2025-07-07 15:25:14 +01:00
Richard Bowman
9fd8fc37f1 Formatted with Ruff 2024-12-03 06:46:08 +00:00
Richard Bowman
27aec769a2 Linter fixes
NB I have permitted bare except: blocks in smart_scan. This should be reverted.
2024-12-03 06:43:45 +00:00
Richard Bowman
57177c6a56 Sped up camera and got CSM passing
Using lower resolution helps speed it up, and skipping CSM settling time makes a big difference.
2024-12-03 06:35:16 +00:00
Richard Bowman
1e7069b375 Add more tests, speed up dummy stage
I've sped up the stage motion, to run tests in a more reasonable time.

CSM doesn't yet calibrate in the test - I suspect debugging of capture_array
is needed.
2024-12-03 00:16:26 +00:00
Richard Bowman
728aa12d07 Add more unit tests
I'm now testing camera metadata and stage functionality. This is only using
the simulated HW - but it's a start.

It would be good to add tests for the
camera-stage mapping Thing, though
that may require speeding up the stage.
2024-12-02 23:26:32 +00:00
Richard Bowman
58066f1948 Add a first unit test
This checks that the server can start
and perform an autofocus.
Autofocus in turn will test the camera and stage dependencies.
2024-11-29 13:03:36 +00:00