diff --git a/CHANGES.md b/CHANGES.md index c28ca12..fd6b6f9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,7 +1,9 @@ # CHANGES +## 2.0.8 +* added version tag in write_results def to avoids tests failing ## 2.0.7 -* Signture input can be directory or archive file, modified to handle docstore json input +* Signture input can be directory or archive file, modified to handle dockstore json input * Signature names now automatically constructed based on file names ## 2.0.6 * Added explicit file handler close to avoid empty files in the results archive diff --git a/pyCRISPRcleanR/staticMethods.py b/pyCRISPRcleanR/staticMethods.py index 97c3c70..16c2598 100644 --- a/pyCRISPRcleanR/staticMethods.py +++ b/pyCRISPRcleanR/staticMethods.py @@ -13,8 +13,6 @@ from pyCRISPRcleanR.plots import PlotData as PLT from . import segmentation -version = pkg_resources.require("pyCRISPRcleanR")[0].version - log = logging.getLogger(__name__) MAGECK_CMD = "mageck test --count-table {} --control-id {} --treatment-id {} --output-prefix {} --norm-method {}" @@ -444,7 +442,7 @@ def write_results(result_cfg, outdir): :return: """ global RESULTS_FILE - global version + version = pkg_resources.require("pyCRISPRcleanR")[0].version file_ext = '.tar.bz2' generated_files = [] for (dirpath, dirnames, filenames) in os.walk(outdir): diff --git a/setup.py b/setup.py index e18a98d..071a1b6 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup config = { - 'version': '2.0.7', + 'version': '2.0.8', 'name': 'pyCRISPRcleanR', 'description': 'This is python implementation of CRISPRcleanR package for unsupervised identification and correction of gene independent cell responses to CRISPR-cas9 targeting', 'author': 'Shriram Bhosle',