Skip to content
Snippets Groups Projects
Commit 389c8789 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

ENSCORESW-954: store the analysis if it has not been stored yet

parent 95fef8f5
No related branches found
No related tags found
3 merge requests!25GFF3 export: unstranded features and using analysis.gff_source,!25GFF3 export: unstranded features and using analysis.gff_source,!25GFF3 export: unstranded features and using analysis.gff_source
......@@ -517,6 +517,11 @@ sub store {
throw("RepeatFeature cannot be stored without an associated slice.");
}
#store the analysis if it has not been stored yet
if(!$rf->analysis->is_stored($db)) {
$db->get_AnalysisAdaptor->store($rf->analysis());
}
my $original = $rf;
my $seq_region_id;
($rf, $seq_region_id) = $self->_pre_store($rf);
......
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