Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Use event from grid detect to do ispyb deposition #1217

Closed
DominicOram opened this issue Mar 5, 2024 · 1 comment · Fixed by #1279
Closed

Use event from grid detect to do ispyb deposition #1217

DominicOram opened this issue Mar 5, 2024 · 1 comment · Fixed by #1279
Assignees

Comments

@DominicOram
Copy link
Collaborator

DominicOram commented Mar 5, 2024

Following #1146 we have a GridScanInfo object that we could easily create from an event at the grid detect stage e.g. do grid detect at 0 omega and produce one doc with that info then rotate and produce the next. To do this we would need to:

  • Move ispyb deposition to before grid detect (at least)
  • Emit these events
  • Use them in the callback
  • Remove the grid related stuff in ispyb_params
@DominicOram DominicOram moved this to Backlog in Hyperion Mar 5, 2024
@DominicOram DominicOram moved this from Backlog to Candidates for Next Sprint in Hyperion Mar 6, 2024
@DominicOram DominicOram moved this from Candidates for Next Sprint to Todo This Sprint in Hyperion Mar 8, 2024
@DominicOram
Copy link
Collaborator Author

We think this will take ~3 days

@rtuck99 rtuck99 self-assigned this Mar 18, 2024
@DominicOram DominicOram moved this from Todo This Sprint to In Progress in Hyperion Mar 18, 2024
rtuck99 added a commit that referenced this issue Mar 22, 2024
* Move ispyb callback activation to before grid detect
* Fixup all the broken unit tests
* Separate descriptor constants from plan names
* Move callback activation wrapper to callback module
rtuck99 added a commit that referenced this issue Mar 22, 2024
* Remove upsert_dc_grid calls from hardware read ispyb updates
* Add units to GridScanInfo fields
* Move grid comment updates from hardware read to oav snapshot event
rtuck99 added a commit that referenced this issue Mar 22, 2024
* Fix system tests
* Change comment to be specified as a value instead of a factory
rtuck99 added a commit that referenced this issue Mar 22, 2024
rtuck99 added a commit that referenced this issue Mar 22, 2024
rtuck99 added a commit that referenced this issue Mar 22, 2024
rtuck99 added a commit that referenced this issue Mar 22, 2024
* Move ispyb callback activation to before grid detect
* Fixup all the broken unit tests
* Separate descriptor constants from plan names
* Move callback activation wrapper to callback module
rtuck99 added a commit that referenced this issue Mar 22, 2024
* Remove upsert_dc_grid calls from hardware read ispyb updates
* Add units to GridScanInfo fields
* Move grid comment updates from hardware read to oav snapshot event
rtuck99 added a commit that referenced this issue Mar 22, 2024
* Fix system tests
* Change comment to be specified as a value instead of a factory
rtuck99 added a commit that referenced this issue Mar 22, 2024
rtuck99 added a commit that referenced this issue Mar 22, 2024
rtuck99 added a commit that referenced this issue Mar 22, 2024
@DominicOram DominicOram moved this from In Progress to Review in Hyperion Mar 25, 2024
rtuck99 added a commit that referenced this issue Apr 2, 2024
* Move ispyb callback activation to before grid detect
* Fixup all the broken unit tests
* Separate descriptor constants from plan names
* Move callback activation wrapper to callback module
rtuck99 added a commit that referenced this issue Apr 2, 2024
* Remove upsert_dc_grid calls from hardware read ispyb updates
* Add units to GridScanInfo fields
* Move grid comment updates from hardware read to oav snapshot event
rtuck99 added a commit that referenced this issue Apr 2, 2024
* Fix system tests
* Change comment to be specified as a value instead of a factory
rtuck99 added a commit that referenced this issue Apr 2, 2024
rtuck99 added a commit that referenced this issue Apr 2, 2024
rtuck99 added a commit that referenced this issue Apr 2, 2024
rtuck99 added a commit that referenced this issue Apr 2, 2024
* Move ispyb callback activation to before grid detect
* Fixup all the broken unit tests
* Separate descriptor constants from plan names
* Move callback activation wrapper to callback module
rtuck99 added a commit that referenced this issue Apr 11, 2024
…ore uniform in ispyb_callback_base.py as per PR review
rtuck99 added a commit that referenced this issue Apr 11, 2024
rtuck99 added a commit that referenced this issue Apr 23, 2024
* Move ispyb callback activation to before grid detect
* Fixup all the broken unit tests
* Separate descriptor constants from plan names
* Move callback activation wrapper to callback module
rtuck99 added a commit that referenced this issue Apr 23, 2024
* Remove upsert_dc_grid calls from hardware read ispyb updates
* Add units to GridScanInfo fields
* Move grid comment updates from hardware read to oav snapshot event
rtuck99 added a commit that referenced this issue Apr 23, 2024
* Fix system tests
* Change comment to be specified as a value instead of a factory
rtuck99 added a commit that referenced this issue Apr 23, 2024
rtuck99 added a commit that referenced this issue Apr 23, 2024
rtuck99 added a commit that referenced this issue Apr 23, 2024
rtuck99 added a commit that referenced this issue Apr 23, 2024
…ivity_start() and eager create both xy and xz DataCollection, as per PR feedback
rtuck99 added a commit that referenced this issue Apr 23, 2024
rtuck99 added a commit that referenced this issue Apr 23, 2024
rtuck99 added a commit that referenced this issue Apr 23, 2024
…ore uniform in ispyb_callback_base.py as per PR review
rtuck99 added a commit that referenced this issue Apr 23, 2024
rtuck99 added a commit that referenced this issue Apr 23, 2024
* Remove unused methods and method parameters
* Extract common call to update_deposition() from ispyb_callback_base handler methods
* Tidy up initialisation of DataCollectionInfo
rtuck99 added a commit that referenced this issue Apr 23, 2024
@github-project-automation github-project-automation bot moved this from Review to Done in Hyperion Apr 23, 2024
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
…spyb deposition

* Move ispyb callback activation to before grid detect
* Fixup all the broken unit tests
* Separate descriptor constants from plan names
* Move callback activation wrapper to callback module
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
* Remove upsert_dc_grid calls from hardware read ispyb updates
* Add units to GridScanInfo fields
* Move grid comment updates from hardware read to oav snapshot event
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
…spyb deposition

* Fix system tests
* Change comment to be specified as a value instead of a factory
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
…spyb deposition

* Remove ispyb params upper_left
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
…spyb deposition

* Remove oav_snapshot_callback.py
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
…nInfo properties during activity_start() and eager create both xy and xz DataCollection, as per PR feedback
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
…o and make event handling more uniform in ispyb_callback_base.py as per PR review
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
* Remove unused methods and method parameters
* Extract common call to update_deposition() from ispyb_callback_base handler methods
* Tidy up initialisation of DataCollectionInfo
olliesilvester pushed a commit to olliesilvester/mx-bluesky that referenced this issue Aug 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants