Skip to content

Commit da9cfa2

Browse files
committed
fix errors and update
1 parent 1157e00 commit da9cfa2

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ their activities using [AUCell](https://github.com/aertslab/AUCell) (Fig. d).
1616

1717
## Installation
1818
CEFCON was originally tested on Ubuntu 20.04 with Python (3.8~3.10).
19-
We recommend run CEFCON on CUDA if possible.
19+
We recommend running CEFCON on CUDA if possible.
2020
The following packages are required to be able to run this code:
2121

2222
### Requirements
23-
- python(==3.10)
24-
- [pytorch(==1.13.0)](https://pytorch.org/get-started/locally/)
23+
- python(>=3.8,<=3.10)
24+
- [pytorch(>=1.13.0,<2.0)](https://pytorch.org/get-started/locally/)
2525
- [torch-geometric(>=2.1.0)](https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html)
2626
- [scanpy(>=1.8.2)](https://scanpy.readthedocs.io/en/stable/installation.html)
2727
- networkx(>=3.0)
@@ -36,7 +36,7 @@ The following packages are required to be able to run this code:
3636
- seaborn(>=0.12.1)
3737
- [palantir(==1.0.1)](https://github.com/dpeerlab/palantir)
3838
- rpy2(>=3.4.1)
39-
- R(>=3.6)
39+
- R(>=4.0)
4040
- PRROC (R package)
4141
- slingshot (R package)
4242
- MAST (R package)
@@ -52,7 +52,7 @@ GUROBI is a commercial solver that requires licenses to run. Thankfully, it prov
5252
licenses outside academia. If there is no problem about the licenses, you need to install the
5353
`gurobipy` package.
5454

55-
If you have difficulty using GUROBI, a non-commercial solver, [SCIP](https://www.scipopt.org/), will be used. But it does not ensure a successful solution.
55+
If difficulties arise while using GUROBI, the non-commercial solver, [SCIP](https://www.scipopt.org/), will be employed as an alternative. But the use of SCIP does not come with a guarantee of achieving a successful solution.
5656

5757
### Using GPU
5858

@@ -117,7 +117,7 @@ for lineage, data_li in data.items():
117117
## Citation
118118
Please cite the following paper, if you find the repository or the paper useful.
119119

120-
Peizhuo Wang, Xiao Wen, Han Li, Peng Lang, Shuya Li, Yipin Lei, Hantao Shu, Lin Gao, Dan Zhao and Jianyang Zeng, [A network-based framework for deciphering driver regulators of cell fate decisions from single-cell RNA-seq data](https://github.com/WPZgithub/CEFCON), Preprint, 2023
120+
Peizhuo Wang, Xiao Wen, Han Li, Peng Lang, Shuya Li, Yipin Lei, Hantao Shu, Lin Gao, Dan Zhao and Jianyang Zeng, [A network-based framework for deciphering driver regulators of cell fate decisions from single-cell RNA-seq data](https://github.com/WPZgithub/CEFCON), --, 2023
121121

122122
```
123123
@article{wang2023cefcon,

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,22 @@ def readme():
1717
author_email='wangpeizhuo_37@163.com',
1818
url='https://github.com/WPZgithub/CEFCON',
1919
packages=find_packages('.'),
20-
# packages = ['cefcon','cefcon.'],
2120
entry_points={
2221
"console_scripts": ['cefcon = cefcon.CEFCON:main']
2322
},
24-
python_requires=">=3.10", # >=3.10 is recommended
23+
python_requires="==3.10", # >=3.10 is recommended
2524
install_requires=[
2625
'numpy',
2726
'scipy',
2827
'pandas',
2928
'scikit-learn',
3029
'tqdm',
31-
'torch==1.13'
30+
'torch>=1.13.0,<2.0',
3231
'torch-geometric>=2.1.0',
3332
'scanpy>=1.9.0',
3433
'networkx>=3.0',
3534
'cvxpy>=1.2.0',
36-
'gurobipy>=10.0.0',
35+
'gurobi>=10.0.0',
3736
'pyscenic>=0.12.0',
3837
'matplotlib',
3938
'matplotlib-venn',

0 commit comments

Comments
 (0)