Skip to content

Commit

Permalink
v1.0.1 - Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Russel88 committed Apr 19, 2020
1 parent 2f4b2c6 commit b98c2a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cctyper/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, args):
logging.basicConfig(format='[%(asctime)s] %(levelname)s: %(message)s', datefmt='%Y-%m-%d %H:%M:%S', level=self.lvl)
else:
logging.basicConfig(format='\033[36m'+'[%(asctime)s] %(levelname)s:'+'\033[0m'+' %(message)s', datefmt='%Y-%m-%d %H:%M:%S', level=self.lvl)
logging.info('Running CRISPRCasTyper version 1.0.0')
logging.info('Running CRISPRCasTyper version 1.0.1')

# Force consistency
self.out = os.path.join(self.out, '')
Expand Down
4 changes: 2 additions & 2 deletions cctyper/crisprcas.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def dist_ll(x,ll,ss,co):
crispr_operon = crispr_sub[[x <= self.crispr_cas_dist for x in distances]]

# Which CRISPRCas are spanning ends
crispr_circ_start = crispr_sub.iloc[[x <= self.crispr_cas_dist for x, y in dists if y == 'crispr_start'],:]
crispr_circ_end = crispr_sub.iloc[[x <= self.crispr_cas_dist for x, y in dists if y == 'crispr_end'],:]
crispr_circ_start = crispr_sub.iloc[[x <= self.crispr_cas_dist and y == 'crispr_start' for x, y in dists],:]
crispr_circ_end = crispr_sub.iloc[[x <= self.crispr_cas_dist and y == 'crispr_end' for x, y in dists],:]

if len(crispr_circ_start) > 0:
self.cc_circ_start[operon] = list(crispr_circ_start['CRISPR'])
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

setuptools.setup(
name="cctyper",
version="1.0.0",
version="1.0.1",
author="Jakob Russel",
author_email="[email protected]",
description="CRISPRCasTyper: Automatic detection and subtyping of CRISPR-Cas operons",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Russel88/CRISPRCasTyper",
download_url="https://github.com/Russel88/CRISPRCasTyper/archive/v1.0.0.tar.gz",
download_url="https://github.com/Russel88/CRISPRCasTyper/archive/v1.0.1.tar.gz",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit b98c2a1

Please sign in to comment.