Skip to content

Commit 31d9925

Browse files
committed
use nice tqdm
1 parent 0d0546f commit 31d9925

11 files changed

+12
-12
lines changed

Diff for: decoupler/method_aucell.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from scipy.sparse import csr_matrix
99

1010
from numpy.random import default_rng
11-
from tqdm import tqdm
11+
from tqdm.auto import tqdm
1212

1313
from .pre import extract, rename_net, filt_min_n, return_data
1414

Diff for: decoupler/method_gsea.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .pre import extract, rename_net, filt_min_n, return_data
1313
from .utils import p_adjust_fdr
1414

15-
from tqdm import tqdm
15+
from tqdm.auto import tqdm
1616

1717
import numba as nb
1818

Diff for: decoupler/method_gsva.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from .pre import extract, rename_net, filt_min_n, return_data
1414
from .method_gsea import std
1515

16-
from tqdm import tqdm
16+
from tqdm.auto import tqdm
1717

1818
import numba as nb
1919

Diff for: decoupler/method_mdt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from .pre import extract, match, rename_net, get_net_mat, filt_min_n, return_data
1111

12-
from tqdm import tqdm
12+
from tqdm.auto import tqdm
1313

1414

1515
def check_if_skranger():

Diff for: decoupler/method_mlm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
from scipy import stats
1313

14-
from tqdm import tqdm
14+
from tqdm.auto import tqdm
1515

1616
import numba as nb
1717

Diff for: decoupler/method_ora.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from .pre import extract, rename_net, filt_min_n, return_data
1616
from .utils import p_adjust_fdr
1717

18-
from tqdm import tqdm
18+
from tqdm.auto import tqdm
1919

2020
import numba as nb
2121

Diff for: decoupler/method_udt.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
from .pre import extract, match, rename_net, get_net_mat, filt_min_n, return_data
1111

12-
from tqdm import tqdm
13-
12+
from tqdm.auto import tqdm
1413

1514
def check_if_sklearn():
1615
try:

Diff for: decoupler/method_ulm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
from .pre import extract, match, rename_net, get_net_mat, filt_min_n, return_data
1313

14-
from tqdm import tqdm
14+
from tqdm.auto import tqdm
1515

1616

1717
def mat_cov(A, b):

Diff for: decoupler/method_viper.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
from .pre import extract, match, rename_net, get_net_mat, filt_min_n, return_data
1414

15-
from tqdm import tqdm
15+
from tqdm.auto import tqdm
16+
1617

1718
import numba as nb
1819

Diff for: decoupler/method_wmean.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from .pre import extract, match, rename_net, get_net_mat, filt_min_n, return_data
1111
from .method_gsea import std
1212

13-
from tqdm import tqdm
13+
from tqdm.auto import tqdm
1414

1515
import numba as nb
1616

Diff for: decoupler/method_wsum.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from .pre import extract, match, rename_net, get_net_mat, filt_min_n, return_data
1111
from .method_gsea import std
1212

13-
from tqdm import tqdm
13+
from tqdm.auto import tqdm
1414

1515
import numba as nb
1616

0 commit comments

Comments
 (0)