Skip to content
Snippets Groups Projects
Commit 4e8be8ca authored by Emmanuel Mongin's avatar Emmanuel Mongin
Browse files

added max value to max_assembly_contig if not defined

parent 7cf23c3b
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,10 @@ sub register_region{
my $chr_id = $chr->dbID();
my $max_assembly_contig = $self->db()->get_MetaContainer->get_max_assembly_contig();
if (! defined $max_assembly_contig) {
$max_assembly_contig = 1_000_000_000;
}
my $select = qq{
select
ass.contig_start,
......
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