Skip to content

Commit

Permalink
Merge pull request #9 from martinghunt/master
Browse files Browse the repository at this point in the history
Bux fixes velvet path
  • Loading branch information
martinghunt committed Feb 18, 2015
2 parents aff438a + 11f4c8a commit 361ceee
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions ariba/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ def __init__(self,
raise Error('Error! ' + sspace_exe + ' not found in path')
self.sspace_exe = os.path.realpath(self.sspace_exe) # otherwise sspace dies loading packages

self.velveth = velvet_exe + 'h'
self.velvetg = velvet_exe + 'g'
if self.assembler == 'velvet':
self.velveth = velvet_exe + 'h'
self.velvetg = velvet_exe + 'g'

self.sspace_k = sspace_k
self.reads_insert = reads_insert
Expand Down
2 changes: 1 addition & 1 deletion ariba/common.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys
import subprocess

version = '0.1.1'
version = '0.1.2'

def syscall(cmd, allow_fail=False, verbose=False):
if verbose:
Expand Down
2 changes: 2 additions & 0 deletions ariba/tasks/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def run():
executables_group.add_argument('--velveth', help=argparse.SUPPRESS)

options = parser.parse_args()
if options.assembler == 'velvet':
options.velvet = 'velvet'
ariba.external_progs.check_versions(options, verbose=options.verbose)
pyfastaq.sequences.codon2aa = pyfastaq.genetic_codes.codes[options.genetic_code]

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='ariba',
version='0.1.1',
version='0.1.2',
description='ARIBA: Antibiotic Resistance Identification By Assembly',
packages = find_packages(),
author='Martin Hunt',
Expand Down

0 comments on commit 361ceee

Please sign in to comment.