From 15dc248a164e56ba1f2dbdb39b6772d2511e7d82 Mon Sep 17 00:00:00 2001 From: stijndcl Date: Mon, 18 Mar 2024 15:17:38 +0100 Subject: [PATCH] Change format string --- .../unipept-database-rs/src/bin/functional-analysis.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helper_scripts/unipept-database-rs/src/bin/functional-analysis.rs b/scripts/helper_scripts/unipept-database-rs/src/bin/functional-analysis.rs index afa3817..8290b3c 100644 --- a/scripts/helper_scripts/unipept-database-rs/src/bin/functional-analysis.rs +++ b/scripts/helper_scripts/unipept-database-rs/src/bin/functional-analysis.rs @@ -121,7 +121,7 @@ fn write_entry( .join(","); let format_string = format!( - "{current_peptide}\t{{\"num\":{{\"all\":{num_prot},\"EC\":{num_ec},\"GO\":{num_go},\"IPR\":{num_ip},\"data\":{{{data}}}}}}}\n" + "{current_peptide}\t{{\"num\":{{\"all\":{num_prot},\"EC\":{num_ec},\"GO\":{num_go},\"IPR\":{num_ip}}},\"data\":{{{data}}}}}\n" ); writer