From f1a295e2fb8b4d03268129c124be217a01f8d693 Mon Sep 17 00:00:00 2001 From: John Elizarraras Date: Wed, 25 Oct 2023 15:34:29 -0500 Subject: [PATCH] fix imports and fix removal of None from NormalizationMethod --- src/main.rs | 9 ++------- webgestalt_lib/src/methods/multiomics.rs | 1 + 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/main.rs b/src/main.rs index ea48777..6fb133a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,15 +1,10 @@ -use std::fmt::format; -use std::io::{BufReader, Write}; -use std::str::FromStr; -use std::{fs::File, time::Instant}; - use bincode::deserialize_from; - use clap::{Args, Parser}; use clap::{Subcommand, ValueEnum}; use owo_colors::{OwoColorize, Stream::Stdout, Style}; +use std::io::{BufReader, Write}; +use std::{fs::File, time::Instant}; use webgestalt_lib::methods::gsea::GSEAConfig; -use webgestalt_lib::methods::multiomics::NormalizationMethod; use webgestalt_lib::methods::ora::ORAConfig; use webgestalt_lib::readers::read_rank_file; diff --git a/webgestalt_lib/src/methods/multiomics.rs b/webgestalt_lib/src/methods/multiomics.rs index eac13be..25145d2 100644 --- a/webgestalt_lib/src/methods/multiomics.rs +++ b/webgestalt_lib/src/methods/multiomics.rs @@ -50,6 +50,7 @@ pub enum NormalizationMethod { MedianRank, MedianValue, MeanValue, + None, } /// Run a multiomics analysis, using iehter the max/mean median ratio or a typical meta analysis