Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
9b5522e7
Commit
9b5522e7
authored
22 years ago
by
Laura Clarke
Browse files
Options
Downloads
Patches
Plain Diff
bug fix in accessor
parent
43b19145
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Bio/EnsEMBL/PerlDB/Contig.pm
+23
-19
23 additions, 19 deletions
modules/Bio/EnsEMBL/PerlDB/Contig.pm
with
23 additions
and
19 deletions
modules/Bio/EnsEMBL/PerlDB/Contig.pm
+
23
−
19
View file @
9b5522e7
...
...
@@ -51,7 +51,7 @@ use vars qw($AUTOLOAD @ISA);
use
strict
;
use
Bio::EnsEMBL::DB::
ContigI
;
# Object preamble - inheriets from Bio::Root::Root
I
# Object preamble - inheriets from Bio::Root::Root
use
Bio::Root::
RootI
;
@ISA
=
qw(Bio::Root::RootI Bio::EnsEMBL::DB::ContigI)
;
...
...
@@ -62,21 +62,23 @@ use Bio::Root::RootI;
sub
new
{
my
(
$class
,
@args
)
=
@_
;
print
STDERR
$class
.
"
\n
";
my
$self
=
bless
{
_repeat_array
=>
[]
,
_gene_array
=>
[]
,
_id
=>
undef
,
_version
=>
undef
,
_internal_id
=>
undef
,
_
international_name
=>
undef
,
_
seq_date
=>
''
,
_embl
_offset
=>
0
,
_o
ffset
=>
0
,
_or
ientation
=>
undef
,
_order
=>
1
,
_
embl_order
=>
1
,
_
chromosome
=>
undef
,
_
species
=>
undef
,
_repeat_array
=>
[]
,
_gene_array
=>
[]
,
_id
=>
undef
,
_version
=>
undef
,
_internal_id
=>
undef
,
_
seq_date
=>
'',
_
embl_offset
=>
0
,
_offset
=>
0
,
_o
rientation
=>
undef
,
_or
der
=>
1
,
_
embl_
order
=>
1
,
_
chromosome
=>
undef
,
_
species
=>
undef
,
_
international
=>
undef
,
},
$class
;
return
$self
;
...
...
@@ -260,12 +262,14 @@ sub id{
sub
international_name
{
my
(
$self
,
$arg
);
my
(
$self
,
$arg
)
=
@_
;
if
(
$arg
){
$self
->
{'
_international_name
'}
=
$arg
;
}
return
$self
->
{'
_international_name
'};
$self
->
{'
_international
'}
=
$arg
;
}
return
$self
->
{'
_international
'};
}
=head2 internal_id
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment