mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Visualization bug fixes.
This commit is contained in:
@@ -194,7 +194,7 @@ class DatasetsController( BaseAPIController, UsesVisualizationMixin, UsesHistory
|
||||
max_vals = data_provider.get_default_max_vals()
|
||||
|
||||
# Get reference sequence and mean depth for region; these is used by providers for aligned reads.
|
||||
ref_seq = None
|
||||
region = None
|
||||
mean_depth = None
|
||||
if isinstance( data_provider, (SamDataProvider, BamDataProvider ) ):
|
||||
# Get reference sequence.
|
||||
|
||||
@@ -1462,6 +1462,7 @@ extend(VariantPainter.prototype, Painter.prototype, {
|
||||
if (num_samples === 1) {
|
||||
row_height = feature_height =
|
||||
(w_scale < ctx.canvas.manager.char_width_px ? this.prefs.summary_height : row_height);
|
||||
paint_utils.row_height = row_height;
|
||||
// No summary when there's a single sample.
|
||||
draw_summary = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user