Skip to content
Snippets Groups Projects
Commit 295dbab2 authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Add blank factor so that features are displayed properly.

parent 80bee16d
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,10 @@ sub parse {
exit(1);
}
# link to a blank factor so the SQL still works
my $blank_factor_id = $self->get_blank_factor_id($db_adaptor);
# read file
open (FILE, "<$file") || die "Can't open $file";
......@@ -149,6 +153,11 @@ sub parse {
$feature{EVIDENCE} = "";
# ----------------------------------------
# Factor - blank so that the SQL for retrieving still works
$feature{FACTOR_ID} = $blank_factor_id;
# ----------------------------------------
# Add to object to be returned
......
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