Skip to content

Commit

Permalink
Updated CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PauBadiaM committed May 30, 2024
1 parent 90cc4ad commit a21a01a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
Expand All @@ -40,7 +40,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
Expand All @@ -21,7 +21,7 @@ jobs:
sudo apt-get install -y libcurl4-openssl-dev
python -m pip install --upgrade pip
pip install wheel
pip install pytest-cov flake8 scikit-learn skranger git+https://github.com/saezlab/omnipath scanpy adjustText pypath-omnipath psutil igraph .
pip install pytest-cov flake8 scikit-learn git+https://github.com/saezlab/omnipath scanpy adjustText pypath-omnipath psutil igraph .
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand All @@ -43,7 +43,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
Expand All @@ -55,7 +55,7 @@ jobs:
export PKG_CONFIG_PATH="/usr/local/opt/openssl@3/lib/pkgconfig"
python -m pip install --upgrade pip
pip install wheel
pip install pytest flake8 scikit-learn skranger git+https://github.com/saezlab/omnipath scanpy adjustText pypath-omnipath psutil igraph .
pip install pytest flake8 scikit-learn git+https://github.com/saezlab/omnipath scanpy adjustText pypath-omnipath psutil igraph .
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
2 changes: 1 addition & 1 deletion decoupler/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ def plot_metrics_boxplot(df, metric, groupby=None, figsize=(5, 5), dpi=100, ax=N
sns = check_if_seaborn()
plt = check_if_matplotlib()

if metric not in ['mcauroc', 'mcauprc', 'rank', 'nrank']:
if metric not in ['mcauroc', 'mcauprc', 'rank', 'nrank', 'recall']:
raise ValueError('Argument metric must be either "mcauroc", "mcauprc", "rank" or "nrank".')

# Subset metric
Expand Down

0 comments on commit a21a01a

Please sign in to comment.