From 8d72316cca069e03d7df0df5a937686f47331c02 Mon Sep 17 00:00:00 2001 From: SimonVandeVyver Date: Mon, 14 Oct 2024 13:46:56 +0200 Subject: [PATCH] remove debug code --- sa-builder/src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sa-builder/src/main.rs b/sa-builder/src/main.rs index 35a7e34..8b9d221 100644 --- a/sa-builder/src/main.rs +++ b/sa-builder/src/main.rs @@ -21,9 +21,8 @@ fn main() { eprintln!(); eprintln!("📋 Started loading the proteins..."); let start_proteins_time = get_time_ms().unwrap(); - /*let mut data = Proteins::try_from_database_file_uncompressed(&database_file) - .unwrap_or_else(|err| eprint_and_exit(err.to_string().as_str()));*/ - let mut data = fs::read_to_string(database_file).expect("Data file does not exist").into_bytes(); + let mut data = Proteins::try_from_database_file_uncompressed(&database_file) + .unwrap_or_else(|err| eprint_and_exit(err.to_string().as_str())); eprintln!( "✅ Successfully loaded the proteins in {} seconds!", (get_time_ms().unwrap() - start_proteins_time) / 1000.0