From 633ad9ceb06c44c4c7d458397f38dc5ff05bd33d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=B0=D0=B1=D0=B8=D0=BD=20=D0=AE=D1=80=D0=B8=D0=B9?= =?UTF-8?q?=20=D0=AE=D1=80=D1=8C=D0=B5=D0=B2=D0=B8=D1=87?= Date: Mon, 15 Jul 2019 17:11:55 +0300 Subject: [PATCH] index error in count indels --- crispr_cas9/count_indels.py | 2 ++ setup.py | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/crispr_cas9/count_indels.py b/crispr_cas9/count_indels.py index a535c72..551dbb8 100644 --- a/crispr_cas9/count_indels.py +++ b/crispr_cas9/count_indels.py @@ -373,6 +373,8 @@ def main(): application which doesn't allow it to be processed Now this file is skipped """.format(f)) + except IndexError as inderr: + print("something wrong with {0}, error: {1}".format(f, inderr)) try: df_dels = _create_df(ref_seq, total_dels) df_ins = _create_df(ref_seq, total_ins) diff --git a/setup.py b/setup.py index 83e77ee..2797d5b 100644 --- a/setup.py +++ b/setup.py @@ -16,11 +16,11 @@ download_url = 'https://github.com/babinyurii/crispr_cas9/archive/v_0.3.tar.gz', keywords = ['bioinformatics', 'indels', 'sequencing', 'NGS'], install_requires=[ - 'pandas==0.23.0', - 'biopython==1.73', - 'matplotlib==2.2.2', - 'numpy==1.11.3', - 'seaborn==0.8.1' + 'pandas', + 'biopython', + 'matplotlib', + 'numpy', + 'seaborn' ], classifiers=[ 'Development Status :: 4 - Beta',