From 8ae56afac0f31027283d9db70a55be2659eb2d21 Mon Sep 17 00:00:00 2001 From: Bram Devlaminck Date: Tue, 14 May 2024 16:48:48 +0200 Subject: [PATCH] filter away empty annotation string --- sa-mappings/src/functionality.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sa-mappings/src/functionality.rs b/sa-mappings/src/functionality.rs index 66be0d7..8b9ebbf 100644 --- a/sa-mappings/src/functionality.rs +++ b/sa-mappings/src/functionality.rs @@ -78,6 +78,7 @@ impl FunctionAggregator { prot.get_functional_annotations() .split(';') .map(|ann| ann.to_string()) + .filter(|s| !s.is_empty()) .collect() ) .collect::>>()