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