From d52b936f5a1edba629aa7dcf424765aa2c3f1589 Mon Sep 17 00:00:00 2001 From: Mikhail Lebedev Date: Wed, 21 Aug 2024 13:59:07 +0200 Subject: [PATCH] FIX: DIANN loader did not load gene names --- alphastats/loader/DIANNLoader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alphastats/loader/DIANNLoader.py b/alphastats/loader/DIANNLoader.py index a285c897..1ad43b92 100644 --- a/alphastats/loader/DIANNLoader.py +++ b/alphastats/loader/DIANNLoader.py @@ -12,6 +12,7 @@ def __init__( file, intensity_column="[sample]", index_column="Protein.Group", + gene_names_column="Genes", sep="\t", **kwargs, ): @@ -25,6 +26,7 @@ def __init__( """ super().__init__(file, intensity_column, index_column, sep) + self.gene_names = gene_names_column self.software = "DIANN" self.no_sample_column = [ "PG.Q.value",