Skip to content
Snippets Groups Projects
Commit 3bb80640 authored by Kieron Taylor's avatar Kieron Taylor :angry:
Browse files

[ENSCORESW-2020] Add stain to karyotype summary hash for REST API use

parent 2c404bc1
No related branches found
No related tags found
No related merge requests found
......@@ -221,6 +221,23 @@ sub display_id {
return $self->{'name'} || '';
}
=head2 summary_as_hash
Example : $karyotype_band_summary = $band->summary_as_hash();
Description : Extends Feature::summary_as_hash
Retrieves a summary of this Karyotype object.
Returns : hashref of arrays of descriptive strings
Status : Intended for internal use
=cut
sub summary_as_hash {
my $self = shift;
my $summary_ref = $self->SUPER::summary_as_hash;
$summary_ref->{'stain'} = $self->stain;
return $summary_ref;
}
1;
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