diff --git a/gseapy/__main__.py b/gseapy/__main__.py index 9a9d68f..6782952 100644 --- a/gseapy/__main__.py +++ b/gseapy/__main__.py @@ -736,8 +736,7 @@ def add_gsva_parser(subparsers): dest="mx_diff", action="store_false", default=True, - help="When set, ES is calculated as the maximum distance of the random walk from 0. Default: False" - "Default: False", + help="When set, ES is calculated as the maximum distance of the random walk from 0. Default: False", ) group_opt.add_argument( @@ -749,8 +748,8 @@ def add_gsva_parser(subparsers): default="Gaussian", metavar="", choices=("Gaussian", "Poisson", "None"), - help="Gaussian is suitable when input expression values are continuous. " +\ - "If input integer counts, then this argument should be set to 'Poisson'", + help="Gaussian is suitable when input expression values are continuous. " + + "If input integer counts, then this argument should be set to 'Poisson'", ) group_opt.add_argument( diff --git a/gseapy/gsea.py b/gseapy/gsea.py index bf0cf7c..a8c7673 100644 --- a/gseapy/gsea.py +++ b/gseapy/gsea.py @@ -12,15 +12,9 @@ import pandas as pd from gseapy.base import GSEAbase -from gseapy.gse import ( - Metric, - gsea_rs, - prerank2d_rs, - prerank_rs, -) +from gseapy.gse import Metric, gsea_rs, prerank2d_rs, prerank_rs from gseapy.parser import gsea_cls_parser from gseapy.plot import gseaplot -from gseapy.utils import mkdirs # from memory_profiler import profile diff --git a/tests/test_commands.py b/tests/test_commands.py index 0a5c614..bd9386b 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -1,8 +1,8 @@ -from tempfile import NamedTemporaryFile, TemporaryDirectory, mkdtemp +from tempfile import TemporaryDirectory, mkdtemp import pytest -from gseapy.__init__ import enrich, enrichr, gsea, prerank, replot, ssgsea, gsva +from gseapy.__init__ import enrich, enrichr, gsea, gsva, prerank, replot, ssgsea @pytest.fixture