Skip to content
Snippets Groups Projects
Commit c5f49009 authored by ens-carlos's avatar ens-carlos Committed by GitHub
Browse files

No lazy loading if $load_exons is true.

If $load_exons is true, do not do lazy loading in any case (including when the number of transcripts is 1).
parent 2438a80c
No related branches found
No related tags found
2 merge requests!149Master,!149Master
......@@ -493,8 +493,8 @@ sub fetch_all_by_Slice {
my $transcripts = $self->SUPER::fetch_all_by_Slice_constraint( $slice, $constraint, $logic_name);
# if there are 0 or 1 transcripts still do lazy-loading
if ( !$load_exons || @$transcripts < 2 ) {
# if there are 0 transcripts still do lazy-loading
if ( !$load_exons || @$transcripts < 1 ) {
return $transcripts;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment