Skip to content

Commit 3d148ca

Browse files
authored
bump version 0.5.0
minor bug fixes and code improvements
2 parents 65e3caa + db55f42 commit 3d148ca

File tree

7 files changed

+43
-43
lines changed

7 files changed

+43
-43
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,3 +339,7 @@ by Abolfazl (Abe) Arab ([@abearab](https://github.com/abearab)) as a Research As
339339
If you use ScreenPro2 in your research, please cite the following paper.
340340

341341
Coming soon...
342+
343+
## Development
344+
### Testing
345+
Tests can be easily run using the `pytest` framework.

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ dependencies:
2929
- simple_colors
3030
- adjustText
3131
- watermark
32+
- pytest

pyproject.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[tool.poetry]
2+
name = "ScreenPro2"
3+
version = "0.5.0"
4+
description = "Flexible analysis of high-content CRISPR screening"
5+
authors = [
6+
"Abe Arab <[email protected]>"
7+
]
8+
license = "MIT"
9+
readme = "README.md"
10+
homepage = "https://github.com/ArcInstitute/ScreenPro2"
11+
repository = "https://github.com/ArcInstitute/ScreenPro2"
12+
keywords = ["CRISPR", "screening", "bioinformatics"]
13+
packages = [
14+
{ include = "screenpro" },
15+
{ include = "pyproject.toml" },
16+
]
17+
18+
[tool.poetry.dependencies]
19+
python = ">=3.9"
20+
21+
[tool.poetry.scripts]
22+
screenpro = "screenpro.main:main"
23+
24+
[tool.poetry.group.test.dependencies]
25+
pytest = "*"
26+
tomli = "*"
27+
28+
[build-system]
29+
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
30+
build-backend = "poetry_dynamic_versioning.backend"

screenpro/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,3 @@
2929
from .ngs import GuideCounter
3030
from .assays import PooledScreens, GImaps
3131
from .dashboard import DrugScreenDashboard
32-
33-
34-
__version__ = "0.4.18"
35-
__author__ = "Abe Arab"
36-

screenpro/assays/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def calculateDrugScreen(self, score_level: Literal["compare_reps", "compare_guid
262262
n_reps=self.n_reps,
263263
test=self.test, score_level=score_level,
264264
count_filter_threshold=count_filter_threshold,
265-
count_filter_type=count_filter_type
265+
count_filter_type=count_filter_type,
266266
**kwargs
267267
)
268268
self._add_phenotype_results(run_name, f'tau:{tau_name}', tau)

screenpro/dashboard/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,15 @@ def RhoVolcanoPlot(
220220
hit_label_col='rho_label',
221221
x_min=-2.5, x_max=2.5, y_min=0, y_max='auto',
222222
return_html=True,
223+
**kwargs
223224
):
224225
p = self._plot_scatter(
225226
x_source, y_source,
226227
xaxis_label, yaxis_label,
227228
up_hit, down_hit,
228229
hit_label_col,
229230
x_min, x_max, y_min, y_max,
231+
**kwargs
230232
)
231233

232234
if return_html:
@@ -245,13 +247,15 @@ def GammaVolcanoPlot(
245247
hit_label_col='gamma_label',
246248
x_min=-2.5, x_max=2.5, y_min=0, y_max='auto',
247249
return_html=True,
250+
**kwargs
248251
):
249252
p = self._plot_scatter(
250253
x_source, y_source,
251254
xaxis_label, yaxis_label,
252255
up_hit, down_hit,
253256
hit_label_col,
254257
x_min, x_max, y_min, y_max,
258+
**kwargs
255259
)
256260

257261
if return_html:
@@ -268,15 +272,17 @@ def RhoGammaScatter(
268272
yaxis_label='gamma score',
269273
up_hit='resistance_hit', down_hit='sensitivity_hit',
270274
hit_label_col='rho_label',
271-
return_html=True,
272275
x_min=-2.5, x_max=2.5, y_min=-2.5, y_max=2.5,
276+
return_html=True,
277+
**kwargs
273278
):
274279
p = self._plot_scatter(
275280
x_source, y_source,
276281
xaxis_label, yaxis_label,
277282
up_hit, down_hit,
278283
hit_label_col,
279284
x_min, x_max, y_min, y_max,
285+
**kwargs
280286
)
281287

282288
if return_html:

setup.py

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

0 commit comments

Comments
 (0)