Skip to content

Commit 1fc9e65

Browse files
committed
fix v2.0.1
1 parent 740feb9 commit 1fc9e65

File tree

4 files changed

+48
-27
lines changed

4 files changed

+48
-27
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ To run a demo using CSV input:
5656
git clone https://github.com/carushi/reactIDR
5757
cd reactIDR/csv_example
5858
python -c "import reactIDR; reactIDR.run_reactIDR([
59-
'-e', '0',
59+
'-e 0',
6060
'--csv',
6161
'--global',
62-
'--case', './csv_example/case.csv',
62+
'--case', 'case.csv',
6363
'--output', 'test.csv',
64-
'--param', './csv_example/default_parameters.txt'
64+
'--param', 'default_parameters.txt'
6565
])"
6666
```
6767

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "reactIDR"
7-
version = "2.0.0"
7+
version = "2.0.1"
88
description = "Implementation of the IDR (Irreproducible Discovery Rate) method for RNA reactivity data."
99
readme = "README.md"
1010
authors = [
@@ -28,3 +28,4 @@ Repository = "https://github.com/carushi/reactIDR"
2828

2929
[tool.setuptools]
3030
packages = { find = { where = ["."] , include = ["reactIDR*"] } }
31+

script/setup.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

setup.py

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# -*- coding: utf-8 -*-
2+
from setuptools import setup, Extension
3+
from setuptools.command.build_ext import build_ext
4+
from Cython.Build import cythonize
5+
import numpy
6+
7+
ext_modules = [
8+
Extension(
9+
"reactIDR.cython.fast_param_fit",
10+
sources=["reactIDR/cython/fast_param_fit.pyx"],
11+
include_dirs=[numpy.get_include()],
12+
)
13+
]
14+
15+
16+
setup(
17+
name="reactIDR",
18+
version="2.0.1",
19+
description="Implementation of the IDR computation for RNA reactivity data.",
20+
author="carushi",
21+
author_email="1845273+carushi@users.noreply.github.com",
22+
license="GPL2",
23+
packages=["reactIDR", "reactIDR.cython"],
24+
ext_modules=ext_modules,
25+
python_requires=">=3.9",
26+
install_requires=[
27+
"numpy>=2.0.2",
28+
"scipy>=1.13.1",
29+
"pandas>=2.2.3",
30+
"matplotlib"
31+
],
32+
entry_points={
33+
"console_scripts": [
34+
"reactIDR = reactIDR.main:main"
35+
]
36+
},
37+
classifiers=[
38+
"Programming Language :: Python :: 3",
39+
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)"
40+
],
41+
)
42+
43+

0 commit comments

Comments
 (0)