Open
Conversation
…nto a computed field in the CLEM model instead
…set of a pre-existing one, and to overwrite existing ImagingSite database entry if it is
…dantic model when registering things in the databases
…re that the ISPyB entries all register the denoised datasets in their final state
This reverts commit 1f224ab.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #776 +/- ##
==========================================
+ Coverage 48.89% 48.92% +0.03%
==========================================
Files 94 94
Lines 10008 10014 +6
Branches 1326 1328 +2
==========================================
+ Hits 4893 4899 +6
Misses 4860 4860
Partials 255 255 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CLEM can be configured to acquire a second, denoised image set of a position, which is saved in its own folder with
_Lng_LVCC(and other suffixes, as we discover them) appended to the position name (e.g.,Position 12_Lng_LVCC--...).Previously, these datasets were registered as separate entries in Murfey and ISPyB, but we have received feedback that where denoised datasets are acquired, the originals no longer need to be displayed.
This PR addresses this request by adjusting the grid square registration logic for the CLEM workflow. If the image set to be registered has
_Lng_LVCCin its name and the original, un-denoised image set has already been registered, it will overwrite the existing entry in both Murfey and ISPyB. If the denoised one was registered first and the un-denoised one comes along, the original won't overwrite the current entry in Murfey and ISPyB.