Commit 38df5f81 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

deprecated methods as data is not available

parent 7976b564
......@@ -148,6 +148,8 @@ A year after deprecation (4 Ensembl releases), the method is removed from the AP
- Bio::EnsEMBL::DBSQL::**SliceAdaptor**::*fetch_by_band()*
- Bio::EnsEMBL::DBSQL::**MetaContainer**::*get_short_name()*
- Bio::EnsEMBL::DBSQL::**MetaContainer**::*get_max_assembly_contig()*
- Bio::EnsEMBL::**DBEntry**::*ensembl_object_type()*
- Bio::EnsEMBL::**DBEntry**::*ensembl_object_id()*
- Bio::EnsEMBL::**Exon**::*_get_stable_entry_info()*
- Bio::EnsEMBL::**FeaturePair**::*validate()*
- Bio::EnsEMBL::**FeaturePair**::*validate_prot_feature()*
......
......@@ -649,51 +649,27 @@ sub status{
=head2 ensembl_object_type
Arg [1] : (optional) String $arg - value to set
Description: Getter/setter for attribute ensembl_object_type.
The object xref ensembl object type, one of 'Gene',
'Marker', 'Operon', 'OperonTranscript', 'RawContig',
'Transcript' or 'Translation'.
Returntype : String
Exceptions : none
Caller : general
Status : Stable
Description: DEPRECATED. Use the associated object type instead.
=cut
sub ensembl_object_type{
my ( $self, $arg ) = @_;
if( defined $arg ) {
$self->{ensembl_object_type} = $arg;
}
return $self->{ensembl_object_type};
deprecate("xref->ensembl_object_type is deprecated and will be removed in e84. Please access the object directly.");
}
=head2 ensembl_id
Arg [1] : (optional) String $arg - value to set
Description: Getter/setter for attribute ensembl_id.
The ensembl_id is the internal identifier of the object
linked via object_xref. This should be used in
conjunction with ensembl_object_type to identify the
correct object type.
Returntype : String
Exceptions : none
Caller : general
Status : Stable
Description: DEPRECATED. Use the associated object id instead.
=cut
sub ensembl_id{
my ( $self, $arg ) = @_;
if( defined $arg ) {
$self->{ensembl_id} = $arg;
}
return $self->{ensembl_id};
deprecate("xref->ensembl_id is deprecated and will be removed in e84. Please access the object directly.");
}
=head1 DEPRECATED METHODS
=cut
......
Markdown is supported
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