Skip to content

Commit

Permalink
Final release commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Ward committed Jun 21, 2016
1 parent 962ca4c commit 28470e9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
Binary file modified AlmostSignificant.tar.gz
Binary file not shown.
4 changes: 1 addition & 3 deletions almostSignificant/templates/baseAjax.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,10 @@
Written by <a id="footer-emaillinks"
href="mailto:[email protected]" title="e-mail me"> Joseph Ward</a> with thanks for help from Nick Schurch.
&copy
<a id="footer-emaillinks" href="http://gsu.lifesci.dundee.ac.uk/" title="Visit the Genomic Sequecing Unit" target="_blank">Genomic Sequencing Unit</a>,
<a id="footer-emaillinks" href="http://www.compbio.dundee.ac.uk/" title="Visit the Barton Group" target="_blank">Barton Group</a>,
<a id="footer-emaillinks" href="http://www.lifesci.dundee.ac.uk/" title="Visit the College of Life Sciences" target="_blank">College of Life Sciences</a>
<a id="footer-emaillinks" href="http://www.lifesci.dundee.ac.uk/" title="Visit the School of Life Sciences" target="_blank">School of Life Sciences</a>
</div>
<div id="mainlogos">
<a href="http://gsu.lifesci.dundee.ac.uk/" target="_blank"><span id="GSUlogo" class="mainlogo" title="Visit the Genomic Sequencing Unit"></span></a>
<a href="http://www.dundee.ac.uk/" target="_blank"><span id="UODlogo" class="mainlogo" title="Visit the University of Dundee"></span></a>
</div>
<div id="date">
Expand Down
4 changes: 2 additions & 2 deletions almostSignificant/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
url(r'^project/$', views.projectView, name="project"),
url(r'^project/Ajax/$', views.projectsAjax, name="projectsAjax"),
url(r'^project/([^/]+)/$', views.projectDetailView, name="projectDetailView"),
# url(r'^project/[^/]+/sample/(\d+)/Ajax/$', views.sampleAjax),
url(r'^project/[^/]+/sample/(\d+)/Ajax/$', views.sampleAjax),
# url(r'^project/[^/]+/run/(\d{6}_[^/]+)/$', views.runView),
# url(r'^project/[^/]+/run/(\d{6}_[^/]+)/Ajax/$', views.runAjax),
# url(r'^project/[^/]+/run/(\d{6}_[^/]+)/(\d)/Ajax/$', views.laneAjax),
# url(r'^project/[^/]+/runs/(\d+)/Ajax/$', views.runSummaryAjax),
# url(r'^project/[^/]+/run/\d{6}_[^/]+/sample/(\d+)/Ajax/$', views.sampleAjax),
url(r'^project/[^/]+/runNotes/(\d{6}_[^/]+)/$', views.runNotesEntry),
url(r'^projectNotes/(.*)/$', views.projectNotesEntry),
url(r'^html/project/(.*)$', views.ProjectDetailViewHTML),
url(r'^project/html/project/(.*)$', views.ProjectDetailViewHTML),
#
url(r'^stats/$', views.statistics, name="stats"),
url(r'^stats/Ajax/$', views.statisticsAjax),
Expand Down
6 changes: 3 additions & 3 deletions almostSignificant/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from django.contrib import auth
from django.template import RequestContext
from django.db.models import Q
from django.core.urlresolvers import reverse
from almostSignificant import *
import os, re, json, itertools, numpy
from django.utils.http import urlquote
Expand Down Expand Up @@ -908,7 +909,6 @@ def buildContaminantsTable(sampleData):
%( curOrganism.organism, curOrganism.oneHitOneLib, \
curOrganism.manyHitOneLib, curOrganism.oneHitManyLib, \
curOrganism.manyHitManyLib)
rightTable = rightTable + currentLine
#data
contamData[curOrganism.organism] = [ curOrganism.oneHitOneLib, \
curOrganism.manyHitOneLib, curOrganism.oneHitManyLib, \
Expand Down Expand Up @@ -1246,7 +1246,7 @@ def ProjectDetailViewHTML(request, projectID):
<th>Insert Size</th></tr>'
tableClose = "</table>"
tableRowsHTML = header + tableStart + tableHeader
runDetail = sampleData[0]
runDetail = Run.objects.get(id=sampleData[0].run_id)
#loop over all of the samples.
for dataset in sampleData:
tempDataArray = []
Expand All @@ -1256,7 +1256,7 @@ def ProjectDetailViewHTML(request, projectID):
tempDataArray.append(dataset.sampleDescription)
tempDataArray.append(dataset.sampleName)
tempDataArray.append("SAM%s" % dataset.sampleReference)
tempDataArray.append( runDetail.runName)
tempDataArray.append( runDetail.run.runName)
tempDataArray.append( str(runDetail.date))
tempDataArray.append(dataset.lane.lane)
tempDataArray.append(dataset.readNumber)
Expand Down

0 comments on commit 28470e9

Please sign in to comment.