File tree 1 file changed +3
-0
lines changed
modules/EnsEMBL/Web/Component/Location
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,15 @@ sub content {
64
64
));
65
65
}
66
66
67
+ my $need_underlying_slices = !$self -> has_image || $align_details -> {' class' } eq ' GenomicAlignTree.ancestral_alignment' ;
67
68
my $image_width = $self -> image_width;
68
69
my $slice = $object -> slice;
69
70
my %export_params = $hub -> param(' data_type' ) ? (' data_type' => $hub -> param(' data_type' ), ' component' => $hub -> param(' data_action' ))
70
71
: ();
71
72
my ($slices ) = $object -> get_slices({
72
73
' slice' => $slice ,
73
74
' align' => $align_params ,
75
+ ' image' => !$need_underlying_slices ,
74
76
' species' => $primary_species ,
75
77
%export_params
76
78
});
@@ -136,6 +138,7 @@ sub content {
136
138
' species' => $prodname ,
137
139
' cdb' => $self -> param(' cdb' ) || ' compara' ,
138
140
' ignore' => ' ancestral_sequences' ,
141
+ ' image' => !$need_underlying_slices ,
139
142
});
140
143
141
144
return $alert_box if $error ;
You can’t perform that action at this time.
0 commit comments