Closed bistline closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 69.72%. Comparing base (
b7dd9bb
) to head (90d4c34
). Report is 8 commits behind head on development.
Non-blocking suggestion: allow the plots that lack the requested annotations to continue to have their plot titles rendered. This gives context to the warning about lacking annotations. Otherwise the warning floats "in space" and we lose track of what data is missing the annotation.
I will note that the plot title is preserved in the warning message, but it's not very visible, so this suggestion is much more coherent.
BACKGROUND & CHANGES
This fixes a bug where a missing cluster-based annotation in spatial plots causes all expression-based scatter plots to throw an error. This was due to the
scatter
object having a value ofundefined
forannotParams
in the response when trying to populate the cache. Now, the plot correctly shows the warning that the requested annotation does not exist on that plot.Example:
This update also deals with some test instability issues in
ingest_job_test.rb
andimport_service_config/nemo_test.rb
due to recent updates, order of operations, etc.MANUAL TESTING
chick_raw_counts
synthetic study in your instance, you can load it from the Rails console with:db/seed/synthetic_studies/chicken_raw_counts/cluster_odd_labels.txt
file as a normal cluster filecluster_odd_labels
, and thenodd_labels
as the annotationspatial_letters
to confirm you see the"spatial_letters" does not have the requested annotation "odd_labels--group--cluster"
warningRAD51
and confirm you see the same warning in thespatial_letters
expression plot