diff --git a/meta.yaml b/meta.yaml index 333f39b..0ec97a6 100644 --- a/meta.yaml +++ b/meta.yaml @@ -1,5 +1,5 @@ {% set name = "sashimi.py" %} -{% set version = "0.0.9" %} +{% set version = "0.1.0" %} package: @@ -8,7 +8,7 @@ package: source: url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" - sha256: 47f1626b93cadb4f2d9472956f1752aab872ed03b48224e972e36934a26b8d8b + sha256: 2baa97e651657c99258697dbdc75a35f634a9984e5d2bf96f851d9e66f6535a3 build: noarch: python diff --git a/sashimi/cli.py b/sashimi/cli.py index 74c014d..6ee5f1d 100644 --- a/sashimi/cli.py +++ b/sashimi/cli.py @@ -21,7 +21,7 @@ from sashimi.file.ATAC import ATAC from sashimi.plot import Plot -__version__ = "0.0.9" +__version__ = "0.1.0" __author__ = "ygidtu & Ran Zhou" __email__ = "ygidtu@gmail.com" diff --git a/sashimi/plot.py b/sashimi/plot.py index 7059e5e..2703290 100644 --- a/sashimi/plot.py +++ b/sashimi/plot.py @@ -118,7 +118,7 @@ def add(self, obj: File, category: str = "", type_: str = ""): return self def load(self, region: GenomicLoci, n_jobs: int = 0, *args, **kwargs): - if n_jobs <= -1: + if n_jobs <= 1: for obj in self.obj: obj.load(region=region, *args, **kwargs) else: @@ -1019,8 +1019,7 @@ def plot(self, # count the plots size for p in self.plots: - - if n_jobs <= -1: + if n_jobs <= 1: p.load(self.region, junctions=self.junctions.get(p.obj[0].label, {}), *args, **kwargs) for obj in p.obj: diff --git a/setup.py b/setup.py index 07a4339..7b24dca 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ import os from setuptools import setup, find_packages -__version__ = "0.0.9" +__version__ = "0.1.0" __author__ = "ygidtu & Ran Zhou" __email__ = "ygidtu@gmail.com" diff --git a/web/package.json b/web/package.json index f2a04c1..8ef5655 100644 --- a/web/package.json +++ b/web/package.json @@ -1,7 +1,7 @@ { "name": "sashimi.py", "private": true, - "version": "0.0.9", + "version": "0.1.0", "type": "module", "scripts": { "dev": "vite",