From c94b8ef35a36992d2f4d81b7dddf696404239012 Mon Sep 17 00:00:00 2001 From: Reid Wagner Date: Wed, 8 Jul 2026 19:21:26 -0500 Subject: [PATCH] Remove unnecessary set_index as 'id' column does not exist for function taxonomy analysis. --- metaquantome/modules/stat.py | 4 +--- setup.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/metaquantome/modules/stat.py b/metaquantome/modules/stat.py index 0caa917..918053c 100644 --- a/metaquantome/modules/stat.py +++ b/metaquantome/modules/stat.py @@ -17,7 +17,7 @@ def stat(infile, sinfo, paired, parametric, ontology, mode, outfile, control_gro :param paired: Whether or not the sample should be analyzed as paired samples :param parametric: whether or not parameteric tests should be used :param ontology: for function, is either 'go', 'ec', or 'cog' - :param mode: 't', 'f', or 'taxf' + :param mode: 't', 'f', or 'ft' :param outfile: path to write to :return: original dataframe with p value and fold change columns appended """ @@ -119,8 +119,6 @@ def test_norm_intensity(df, samp_grps, paired, parametric): #df_means[P_CORR_COLNAME] = mc.fdrcorrection0(test_results, method='indep')[1] df_means[P_CORR_COLNAME+"_"+samp_grps.fc_name.replace("log2fc_","")] = mc.fdrcorrection0(test_results, method='indep')[1] - # reset the index to be 'id' - this is mostly for testing, and doesn't affect the output file - df_means.set_index('id', drop=False, inplace=True) return df_means diff --git a/setup.py b/setup.py index 9acce31..724c95d 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages -VERSION = '2.0.4' +VERSION = '2.0.5' URL = 'https://github.com/galaxyproteomics/metaquantome' AUTHOR = 'Caleb Easterly' AUTHOR_EMAIL = 'caleb.easterly@gmail.com'