From: Diane Trout Date: Fri, 11 Sep 2009 01:41:12 +0000 (+0000) Subject: Apparently I should've rendered the emails in plain text. X-Git-Tag: 0.3.2~27 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=d0f668c4212d424835fdd0e2d1ba235ddf40a047 Apparently I should've rendered the emails in plain text. Also lorian wanted to include the cluster estimate in the email. --- diff --git a/htsworkflow/frontend/experiments/views.py b/htsworkflow/frontend/experiments/views.py index a6cd241..3505a3b 100755 --- a/htsworkflow/frontend/experiments/views.py +++ b/htsworkflow/frontend/experiments/views.py @@ -66,7 +66,7 @@ def startedEmail(request, pk): flowcell_users = getUsersForFlowcell(fc) estimate_low, estimate_high = estimateFlowcellDuration(fc) email_verify = get_template('experiments/email_preview.html') - email_template = get_template('experiments/started_email.html') + email_template = get_template('experiments/started_email.txt') sender = settings.NOTIFICATION_SENDER warnings = [] diff --git a/htsworkflow/frontend/templates/experiments/email_preview.html b/htsworkflow/frontend/templates/experiments/email_preview.html index 6cbc065..cef7d06 100644 --- a/htsworkflow/frontend/templates/experiments/email_preview.html +++ b/htsworkflow/frontend/templates/experiments/email_preview.html @@ -15,7 +15,9 @@ email address
From: {{ from }}
To: {{ to }}
Subject: {{ subject }}
+
 {{ body }}
+
{% endfor %}
diff --git a/htsworkflow/frontend/templates/experiments/started_email.txt b/htsworkflow/frontend/templates/experiments/started_email.txt new file mode 100644 index 0000000..5a2c1ca --- /dev/null +++ b/htsworkflow/frontend/templates/experiments/started_email.txt @@ -0,0 +1,16 @@ +The following libraries are on the flowcell {{ flowcell.flowcell_id }} +which is a {{ flowcell.read_length }} base pair {% if flowcell.paired_end %}paired end{% else %}single ended{% endif %} flowcell. + +Lane : (Library Id) Library Name (Cluster Estimate) +{% for lane in lanes %} +Lane #{{ lane.lane_number }} : ({{ lane.library.library_id }}) {{ lane.library.library_name }} ({{ lane.cluster_estimate }}) + http://jumpgate.caltech.edu/library/{{ lane.library.library_id }} +{% endfor %} + +The raw data should be available at the following link when +the pipeline finishes, probably in about +{{ finish_low.days }} to {{ finish_high.days }} days after the flowcell is started. + +http://jumpgate.caltech.edu/runfolders/cellcenter/ + +- Jumpgate