Commit 0bffed27 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

do not store attributes with null value

parent cc819fca
......@@ -164,6 +164,9 @@ sub store_on_ {
throw("Reference to list of Bio::EnsEMBL::Attribute objects " .
"argument expected.");
}
next if ($attrib->value == 0);
my $atid = $self->_store_type( $attrib );
if ((defined $attrib->code) and ($attrib->code eq 'circular_seq')) {
$undef_circular_cache = 1;
......
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