Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
cdanielmachado committed Oct 13, 2020
1 parent 22a621c commit 68389a6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion carveme/cli/carve.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def first_run_check():
if not os.path.exists(diamond_db):
print("Running diamond for the first time, please wait while we build the internal database...")
fasta_file = project_dir + config.get('input', 'fasta_file')
cmd = ['diamond', 'makedb', '--in', fasta_file, '-d', diamond_db.split('.')[0]]
cmd = ['diamond', 'makedb', '--in', fasta_file, '-d', diamond_db[:-5]]
try:
exit_code = subprocess.call(cmd)
except OSError:
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
'data/input/metabolomics_park2016.csv',
'data/input/unbalanced_metabolites.csv',
'data/input/bigg_proteins.faa',
'data/input/bigg_proteins.dmnd',
'data/input/equilibrator_compounds.tsv.gz',
'data/input/refseq_release_201.tsv.gz',
'data/generated/bigg_gibbs.csv',
Expand Down

0 comments on commit 68389a6

Please sign in to comment.