mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-20 03:43:51 +01:00
* cli: patwaittime also takes time argument, api: patwaitclocks and patwaitinterval, tcp: patwaitinterval is 2 functions for set and get, patwaitclocks remains a single for backward compatibility with -1 for get, server (loadpattern): clks using member names (needs to be refactored). needs tobe discussed what to do with pattern files. * all tests passed * fixed test * exptime deprecated for ctb and xilinx * pyctbgui..not there yet * fixed in pyctbgui * removed redundant warning for ctb and xilinx exptime in Detector class (already in module class handling all exptime signatures), patwait, patloop and patnloop have to be non inferrable commands because of support for old commands (level as suffix) * fix formatting error from command line parsing * fix tests for patwaittime
New Chip Test Board Gui using Python
Prototype for a new python based GUI for the Chip Test Board
Getting started
git clone https://github.com/slsdetectorgroup/pyctbgui.git
cd pyctbgui
make #compiles the c extension inplace
./CtbGui
Display help for the Makefile
$ make help
check_format Check if source is formatted properly
clean Remove the build folder and the shared library
ext [DEFAULT] build c extension in place
format format code inplace using style in pyproject.toml
lint run ruff linter to check formatting errors
test Run unit tests using pytest
setup pre-commit hooks
pre-commit install