You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is_visualization_default flag for a tomogram can be set to true for multiple tomograms in a run. This changes the meaning of the flag, from being the flag to identify the tomogram whose key photo and neuroglancer config are to be used, to a flag that is unique for a run, given a deposition.
Currently, there are no validations to ensure if there is more than one tomogram having is_visualization_default is true.
In the case where a deposition adds tomograms to a run, it could potentially have a tomogram marked as is_visualization_default is true, we can run into a case with multiple tomograms having the is_visualization default set to true.
This could potentially create a non-deterministic experiences when getting the first tomogram with is_visualization_default=true.
Definition of Done
There is only one tomogram with is_visualization_default=true for every run.
Tasks
Add tests in validation which checks for this criteria.
Fix any configs and reingest the tomogram metadata
Notes
The frontend should currently be handling for this with a sort on is_author_submitted, to prioritize the author submitted tomogram.
The text was updated successfully, but these errors were encountered:
Motivation
This
is_visualization_default
flag for a tomogram can be set to true for multiple tomograms in a run. This changes the meaning of the flag, from being the flag to identify the tomogram whose key photo and neuroglancer config are to be used, to a flag that is unique for a run, given a deposition.Currently, there are no validations to ensure if there is more than one tomogram having
is_visualization_default
is true.In the case where a deposition adds tomograms to a run, it could potentially have a tomogram marked as
is_visualization_default
is true, we can run into a case with multiple tomograms having the is_visualization default set to true.This could potentially create a non-deterministic experiences when getting the first tomogram with
is_visualization_default=true
.Definition of Done
There is only one tomogram with is_visualization_default=true for every run.
Tasks
Notes
The frontend should currently be handling for this with a sort on
is_author_submitted
, to prioritize the author submitted tomogram.The text was updated successfully, but these errors were encountered: