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
e984a733
Commit
e984a733
authored
Apr 27, 2006
by
Glenn Proctor
Browse files
Check for defined info_type before adding it to display name.
parent
e8cd84c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
modules/Bio/EnsEMBL/DBEntry.pm
modules/Bio/EnsEMBL/DBEntry.pm
+2
-4
No files found.
modules/Bio/EnsEMBL/DBEntry.pm
View file @
e984a733
...
...
@@ -42,8 +42,6 @@ use Bio::EnsEMBL::Utils::Exception qw(deprecate);
use
vars
qw(@ISA $AUTOLOAD)
;
use
strict
;
use
warnings
;
no
warnings
'
uninitialized
';
@ISA
=
qw( Bio::EnsEMBL::Storable Bio::Annotation::DBLink )
;
...
...
@@ -397,7 +395,7 @@ sub db_display_name {
}
my
$name
;
if
(
$self
->
{
info_type
}
eq
"
PROJECTION
")
{
if
(
$self
->
{
info_type
}
&&
$self
->
{
info_type
}
eq
"
PROJECTION
")
{
$name
=
"
Projected
"
.
$self
->
{
db_display_name
};
}
else
{
$name
=
$self
->
{
db_display_name
};
...
...
@@ -422,7 +420,7 @@ sub info_type {
my
(
$self
,
$arg
)
=
@_
;
if
(
defined
$arg
)
{
$self
->
{
info_type
}
=
$arg
;
}
}
return
$self
->
{
info_type
};
}
...
...
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