From 5b2152e0c1af04d241d0b5a63bb3ec827087c41e Mon Sep 17 00:00:00 2001 From: Kim Rutherford Date: Thu, 29 Feb 2024 14:42:32 +1300 Subject: [PATCH] Fix broken modification checking in long workflow Refs pombase/canto#2802 --- root/curs/modules/ontology.mhtml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/root/curs/modules/ontology.mhtml b/root/curs/modules/ontology.mhtml index 8a348eefc..53b211fb1 100644 --- a/root/curs/modules/ontology.mhtml +++ b/root/curs/modules/ontology.mhtml @@ -59,6 +59,7 @@ Annotation extensions term-id="{{currentTerm()}}" is-valid="extensionBuilderIsValid" annotation-type-name="<% $annotation_type_name %>" + gene-systematic-id="<% $gene_systematic_id %>" feature-type="finalFeatureType"> @@ -95,8 +96,10 @@ Annotation extensions <%init> my $feature_display_name; +my $gene_systematic_id = ''; if ($feature_type eq 'gene') { $feature_display_name = $feature->display_name(); + $gene_systematic_id = $feature->primary_identifier(); } else { $feature_display_name = $feature->display_name($c->config()); }