Skip to content

Commit

Permalink
isrot
Browse files Browse the repository at this point in the history
  • Loading branch information
zqfang committed Oct 24, 2023
1 parent 4ec4b0a commit 4b82a7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
7 changes: 3 additions & 4 deletions gseapy/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand Down
8 changes: 1 addition & 7 deletions gseapy/gsea.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tests/test_commands.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4b82a7c

Please sign in to comment.