Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support selecting new visits per-request #452

Open
DiamondJoseph opened this issue Apr 22, 2024 · 0 comments
Open

Support selecting new visits per-request #452

DiamondJoseph opened this issue Apr 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@DiamondJoseph
Copy link
Contributor

DiamondJoseph commented Apr 22, 2024

#305 adds a DirectoryProvider implementation which is capable of mounting a single static visit per-beamline. All devices are configured to write to that visit directory, and a pre-processor may be used to update the dataCollection ("dcid") such that files are uniquely named (e.g. --.h5, with dcid incrementing with each run. The visit may be updated by updating the dodal module and restarting the process. This is sufficient for current single-visit development and runs.

When a more complete DirectoryService has been created, and authentication information can be passed as part of the request, it should be possible to select a visit per-request.

If the DirectoryService also produces a subdirectory within the visit per-datacollection, the resource_dir can also be extended to write the h5 files within.

Acceptance Criteria

  • Multiple Runs can be started, each writing into a different visit directory on the same beamline without restarting the process.
@DiamondJoseph DiamondJoseph added the enhancement New feature or request label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant