Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
0b5d01c1
Commit
0b5d01c1
authored
Nov 04, 2009
by
Ian Longden
Browse files
check for LRGSlice too
parent
4c58101e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/Bio/EnsEMBL/Feature.pm
modules/Bio/EnsEMBL/Feature.pm
+2
-1
No files found.
modules/Bio/EnsEMBL/Feature.pm
View file @
0b5d01c1
...
...
@@ -115,7 +115,8 @@ sub new {
rearrange
(['
START
','
END
','
STRAND
','
SLICE
','
ANALYSIS
',
'
SEQNAME
',
'
DBID
',
'
ADAPTOR
'],
@
_
);
if
(
$slice
)
{
if
(
!
ref
(
$slice
)
||
!
$slice
->
isa
('
Bio::EnsEMBL::Slice
'))
{
if
(
defined
(
$slice
)
&&
(
!
ref
(
$slice
)
||
(
!
$slice
->
isa
('
Bio::EnsEMBL::Slice
')
&&
!
$slice
->
isa
('
Bio::EnsEMBL::LRGSlice
')))){
throw
('
-SLICE argument must be a Bio::EnsEMBL::Slice not
'
.
$slice
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment