Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
added S1 declaration to Deep Sequencing Request
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Manke committed Feb 1, 2021
1 parent b130f67 commit 282d6ee
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion request/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,11 @@ def download_deep_sequencing_request(self, request, pk=None): # pragma: no cove
} for obj in objects]
records = sorted(records, key=lambda x: x['barcode'][3:])

declaration='None of the samples listed below contain any disease carrying agents or GMO of' \
' risk group 2 or higher. They can be handled in an S1 laboratory without any safety concerns.'



pdf = PDF('Deep Sequencing Request')
pdf.set_draw_color(217, 217, 217)
pdf.alias_nb_pages()
Expand All @@ -433,8 +438,9 @@ def download_deep_sequencing_request(self, request, pk=None): # pragma: no cove
pdf.info_row('Email', user.email)
pdf.info_row('Organization', organization)
pdf.info_row('Cost Unit', cost_unit)
pdf.multi_info_row('Declaration', declaration)
pdf.multi_info_row('Description', instance.description)

y = pdf.get_y()
pdf.line(pdf.l_margin + 1, y, pdf.fw - pdf.r_margin - 1, y)

Expand Down

0 comments on commit 282d6ee

Please sign in to comment.