Skip to content
Snippets Groups Projects
Commit 2db9f0b5 authored by Alessandro Vullo's avatar Alessandro Vullo
Browse files

[ENSCORESW-2091]. Test fetching feature seq_region_(start|end) directly from DB.

parent 6c436f6a
No related branches found
No related tags found
No related merge requests found
......@@ -387,7 +387,9 @@ foreach my $sl (sort keys %{$slices}) {
is($got->stable_id, $expected->{stable_id}, sprintf "%d: stable id", $got->dbID) if $table_in_stable_id_tables;
is($got->start, $expected->{start}, sprintf "%d: start", $got->dbID);
is($got->end, $expected->{end}, sprintf "%d: end", $got->dbID);
is($got->strand, $expected->{strand}, sprintf "%d: strand", $got->dbID);
is($got->strand, $expected->{strand}, sprintf "%d: strand", $got->dbID);
is($got->seq_region_start, $expected->{seq_region_start}, sprintf "%d: seq_region_start", $got->dbID);
is($got->seq_region_end, $expected->{seq_region_end}, sprintf "%d: seq_region_end", $got->dbID);
}
}
}
......@@ -790,6 +792,8 @@ sub feature_slice_boundaries {
stable_id => $attrs->{stable_id},
start => $start,
end => $end,
seq_region_start => $srs,
seq_region_end => $sre,
strand => $attrs->{seq_region_strand} * $sstrand
};
......
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