Skip to content

Commit 582d1ee

Browse files
committed
Double fix install requires
Also: - bump version number - sort imports
1 parent 1ad306a commit 582d1ee

File tree

4 files changed

+22
-15
lines changed

4 files changed

+22
-15
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
author = "Adam Gayoso and Jonathan Shor"
2424

2525
# The full version, including alpha/beta/rc tags
26-
release = "2.5.0"
26+
release = "2.5.2"
2727

2828

2929
# -- General configuration ---------------------------------------------------

doubletdetection/doubletdetection.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
import collections
44
import warnings
55

6+
import anndata
67
import numpy as np
7-
from sklearn.utils import check_array
8-
from sklearn.utils.sparsefuncs_fast import inplace_csr_row_normalize_l1
9-
from scipy.io import mmread
10-
from scipy.stats import hypergeom
8+
import phenograph
119
import scipy.sparse as sp_sparse
12-
from scipy.sparse import csr_matrix
1310
import tables
1411
import scanpy as sc
15-
import anndata
12+
from scipy.io import mmread
13+
from scipy.sparse import csr_matrix
14+
from scipy.stats import hypergeom
15+
from sklearn.utils import check_array
16+
from sklearn.utils.sparsefuncs_fast import inplace_csr_row_normalize_l1
1617
from tqdm.auto import tqdm
17-
import phenograph
1818

1919

2020
def load_10x_h5(file, genome):

doubletdetection/plot.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
from sklearn.decomposition import PCA
2-
import umap
3-
41
import os
52
import warnings
6-
import numpy as np
7-
from sklearn.utils import check_array
83

94
import matplotlib
5+
import numpy as np
6+
import umap
7+
from sklearn.decomposition import PCA
8+
from sklearn.utils import check_array
109

1110
try:
1211
os.environ["DISPLAY"]

setup.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
setup(
1818
name="doubletdetection",
19-
version="2.5.0",
19+
version="2.5.2",
2020
description="Method to detect and enable removal of doublets from single-cell RNA-sequencing "
2121
"data",
2222
url="https://github.com/JonathanShor/DoubletDetection",
@@ -25,9 +25,17 @@
2525
include_package_data=True,
2626
packages=["doubletdetection"],
2727
install_requires=[
28-
"phenograph @ https://api.github.com/repos/JonathanShor/PhenoGraph/tarball/v1.6",
28+
"numpy>=1.14.2",
29+
"pandas>=0.22.0",
30+
"scipy>=1.0.1",
31+
"scikit-learn",
32+
"tables>=3.4.2",
33+
"umap-learn>=0.3.7",
2934
"matplotlib>=3.1",
35+
"phenograph @ https://api.github.com/repos/JonathanShor/PhenoGraph/tarball/v1.6",
3036
"scanpy>=1.4.4",
3137
"louvain",
38+
"tqdm",
39+
"anndata",
3240
],
3341
)

0 commit comments

Comments
 (0)