Skip to content

Commit

Permalink
star-fusion
Browse files Browse the repository at this point in the history
  • Loading branch information
arnald-alonso committed Dec 4, 2016
1 parent 00a43ce commit 2c8d0c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions lib/spider_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ def stats_trimgalore(path):
r2 = data[1][i]
g1 = g1 + "\t" + r1
g2 = g2 + "\t" + r2
print r2
if '%' in r2:
print 'h ' + r2.split(' ')[1].replace('(', '').replace('%)', '')
plt1 = plt1 + "\t" + r1.split('(')[1].replace('%)', '')
plt2 = plt2 + "\t" + r2.split('(')[1].replace('%)', '')
else:
Expand Down
1 change: 1 addition & 0 deletions spider.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
print " - " + path + "/HTML/trim.html"
html_table = html.print_table_default(path + "/outputs/stats_trim.txt", -1, []) # PROVIDES HTML TABLE WITH HPC STATS
data = html.bar_getdata(path + "/outputs/stats_trim_plot.txt",0,[],[])
print data
html.build_from_template("TrimGalore", project, data, html_table, "", path+"/HTML/trim.html", os.path.dirname(sys.argv[0]) + "/template/TEMPLATE_TRIMG.html", lmenu)
except:
print " - Not ready"
Expand Down

0 comments on commit 2c8d0c1

Please sign in to comment.