Skip to content

Commit

Permalink
Update create_summary.py
Browse files Browse the repository at this point in the history
Fix path replace
  • Loading branch information
skoren committed Jun 5, 2015
1 parent b1a493c commit 79e4f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/python/create_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def create_summary(first,amosbnk,prefix,ref_asm,utils,img,rund,nLibs,taxa_level,
os.chdir(html_prefix)

if not os.path.exists(html_prefix+"asmstats.out"):
libPath = rund.replace("bin", "lib")
libPath = rund.rsplit(os.sep,1)[0] + os.sep + rund.rsplit(os.sep,1)[-1].replace("bin", "lib")
#print "perl -I %s %s/perl/statistics.pl %s > %sasmstats.out"%(libPath,utils,ref_asm,html_prefix)
run_process(_settings,"perl -I %s %s/perl/statistics.pl %s > %sasmstats.out"%(libPath,utils,ref_asm,html_prefix),"Postprocess")
report = open(html_prefix+"asmstats.out",'r')
Expand Down

0 comments on commit 79e4f75

Please sign in to comment.