From 8c96fe32468b4898a44bda52440dd741a274d80b Mon Sep 17 00:00:00 2001 From: Kim Rutherford Date: Thu, 23 Nov 2023 11:56:40 +1300 Subject: [PATCH] Fix conditions missing from web site Fixes problem with with 29e7f693b9dc Refs pombase/website#2029 --- lib/PomBase/Import/Canto.pm | 1 + lib/PomBase/Import/Quantitative.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/PomBase/Import/Canto.pm b/lib/PomBase/Import/Canto.pm index 95118cd..5a6b862 100644 --- a/lib/PomBase/Import/Canto.pm +++ b/lib/PomBase/Import/Canto.pm @@ -588,6 +588,7 @@ sub _store_ontology_annotation { my $real_termid = $self->_get_real_termid($termid); $self->add_feature_cvtermprop($feature_cvterm, condition => $real_termid, $i); + $self->add_feature_cvtermprop($feature_cvterm, condition_detail => $real_termid, $i); } } diff --git a/lib/PomBase/Import/Quantitative.pm b/lib/PomBase/Import/Quantitative.pm index d595d63..b3f589c 100644 --- a/lib/PomBase/Import/Quantitative.pm +++ b/lib/PomBase/Import/Quantitative.pm @@ -228,6 +228,7 @@ sub load { for (my $i = 0; $i < @conditions; $i++) { my $condition = $conditions[$i]; $self->add_feature_cvtermprop($feature_cvterm, 'condition', $condition, $i); + $self->add_feature_cvtermprop($feature_cvterm, 'condition_detail', $condition, $i); } }