- all print calls outside the __main__ test blocks are now log calls:
info for run information (CTA configuration summary on one line, run
number, CTA start pid), warning/error for aborts and failures, debug for
dumps (object/transform info, autofocus measurements, logger tree)
- psi_device: remove the import-time logging.basicConfig(level=DEBUG) and
print('past logging'); the standalone test configures logging itself
- startup import timings are logged at info level
- ctadaq added to the -l log level list
Prints from PBTools/PBSwissMX, slic and the JFJ client are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- pv_monitor_add skips simulated motor widgets one by one instead of
asserting sim&0x10 (mixed modes such as --sim 0x0ef crashed at startup)
- preferences: roi/binning numbers written as decimals (8.0) are parsed as
one number and rounded; a roi without 4 or binning without 2 values is
not saved (8.0 used to become 8,0 and corrupt the camera roi)
- camera.set_param refuses a roi/binning with the wrong number of values
- Collect warns when there is nothing to scan or the task is not fix target
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- illumination: send_command() and status() return early in simulated
mode (regression from 960b48f, which tried to connect with no hostname)
- camera: sim_gen(mode=1) falls back to generated images (mode 0) when
simCamImg/*.png is missing instead of raising IndexError
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>