Skip to content

Add plugins_with_proc for the areaDetector process plugin - #1498

Open
coretl wants to merge 1 commit into
bluesky:mainfrom
coretl:split/A
Open

coretl wants to merge 1 commit into
bluesky:mainfrom
coretl:split/A

Conversation

@coretl

@coretl coretl commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

New public adcore.plugins_with_proc() builds the "proc" plugin from proc_suffix, adds it to a detector's plugins, and raises ValueError if plugins already has a "proc".

  • The seven vendor detectors (Andor2, Aravis, Kinetix, Merlin, Pilatus, SimDetector, Vimba) and ContAcqDetector use it, and pass the process plugin to their trigger logic as before.
  • Includes the CHANGELOG entry, the how-to update and a test for the reserved name.

Changes

  • "proc" is reserved in a vendor detector's plugins: pass proc_suffix instead.

How to review

Start with epics/adcore/_detector.py for plugins_with_proc(). The vendor detector changes are the same mechanical edit repeated.

AI Disclaimer

The code and this description were generated with AI and reviewed/tweaked by the author.

adcore.plugins_with_proc() builds the "proc" plugin from proc_suffix and
adds it to a detector's plugins, rejecting a "proc" passed in plugins. The
seven vendor detectors (Andor2, Aravis, Kinetix, Merlin, Pilatus,
SimDetector, Vimba) and ContAcqDetector use it and pass the process plugin
to their trigger logic as before.

Includes the changelog entry, the how-to line and the test for the
reserved name.

Assisted-by: Claude Opus 5.5
@coretl
coretl requested a review from jwlodek November 12, 2026 16:58

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant