Skip to content

Comments

Pass detector name + datakey suffix to providers instead of writer name to match filenames to datakeys.#1205

Merged
jwlodek merged 8 commits intobluesky:mainfrom
jwlodek:use-parent-detector-name
Feb 23, 2026
Merged

Pass detector name + datakey suffix to providers instead of writer name to match filenames to datakeys.#1205
jwlodek merged 8 commits intobluesky:mainfrom
jwlodek:use-parent-detector-name

Conversation

@jwlodek
Copy link
Member

@jwlodek jwlodek commented Feb 19, 2026

No description provided.

… prepare and hints for better control of what's passed to providers
@jwlodek jwlodek requested a review from coretl February 19, 2026 20:42
@jwlodek
Copy link
Member Author

jwlodek commented Feb 19, 2026

Resolves #1204 . I think using datakey_suffix if it is set is a cleaner way of allowing the use of the detector name in providers. This way the files would also match datakeys in the docs.

@jwlodek jwlodek changed the title Append datakey suffix if set on data logic to detector name passed to prepare and hints for better control of what's passed to providers Pass detector name + datakey suffix to providers instead of writer name to match filenames to datakeys. Feb 19, 2026
Copy link
Collaborator

@coretl coretl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is much cleaner, just some comments on naming so it is clear that the DetectorDataLogic is getting its datakey_name passed into the prepare_ methods rather than having to calculate it from detector_name

jwlodek and others added 3 commits February 20, 2026 10:55
Co-authored-by: Tom C (DLS) <101418278+coretl@users.noreply.github.com>
Co-authored-by: Tom C (DLS) <101418278+coretl@users.noreply.github.com>
Co-authored-by: Tom C (DLS) <101418278+coretl@users.noreply.github.com>
jwlodek and others added 2 commits February 20, 2026 11:23
Co-authored-by: Tom C (DLS) <101418278+coretl@users.noreply.github.com>
@jwlodek
Copy link
Member Author

jwlodek commented Feb 20, 2026

Should we also rename the argument for path providers? Since we pass datakey names to then now, not a device name.

@coretl
Copy link
Collaborator

coretl commented Feb 20, 2026

Should we also rename the argument for path providers? Since we pass datakey names to then now, not a device name.

Yes please

@jwlodek jwlodek merged commit 0454f8a into bluesky:main Feb 23, 2026
22 checks passed
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.

2 participants