Skip to content

Commit

Permalink
Merge pull request #81 from usegalaxy-eu/checklist_update
Browse files Browse the repository at this point in the history
Automatic update of ENA Sample Checklists
  • Loading branch information
bedroesb authored Jun 5, 2023
2 parents 87f9478 + 94c4a2d commit 455c38d
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 44 deletions.
4 changes: 0 additions & 4 deletions ena_upload/templates/ENA_template_samples_ERC000011.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,14 @@ def attributetest(row, column):
<VALUE>${row['collected_by']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'collection date')">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (country and/or sea)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (region and locality)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (region and locality)</TAG>
Expand Down
2 changes: 0 additions & 2 deletions ena_upload/templates/ENA_template_samples_ERC000027.xml
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,10 @@ def attributetest(row, column):
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
<py:if test="attributetest(row, 'geographic location (country and/or sea)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<SAMPLE_ATTRIBUTE>
<TAG>broad-scale environmental context</TAG>
<VALUE>${row['broad-scale environmental context']}</VALUE>
Expand Down
4 changes: 0 additions & 4 deletions ena_upload/templates/ENA_template_samples_ERC000030.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,18 +111,14 @@ def attributetest(row, column):
<TAG>environmental package</TAG>
<VALUE>${row['environmental package']}</VALUE>
</SAMPLE_ATTRIBUTE>
<py:if test="attributetest(row, 'collection date')">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (country and/or sea)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<SAMPLE_ATTRIBUTE>
<TAG>broad-scale environmental context</TAG>
<VALUE>${row['broad-scale environmental context']}</VALUE>
Expand Down
2 changes: 0 additions & 2 deletions ena_upload/templates/ENA_template_samples_ERC000032.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,10 @@ def attributetest(row, column):
<VALUE>${row['illness symptoms']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'collection date')">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
Expand Down
2 changes: 0 additions & 2 deletions ena_upload/templates/ENA_template_samples_ERC000033.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,10 @@ def attributetest(row, column):
<VALUE>${row['illness symptoms']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'collection date')">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
Expand Down
4 changes: 0 additions & 4 deletions ena_upload/templates/ENA_template_samples_ERC000034.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,14 @@ def attributetest(row, column):
<TAG>tissue_type</TAG>
<VALUE>${row['tissue_type']}</VALUE>
</SAMPLE_ATTRIBUTE>
<py:if test="attributetest(row, 'collection date')">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (country and/or sea)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<SAMPLE_ATTRIBUTE>
<TAG>sex</TAG>
<VALUE>${row['sex']}</VALUE>
Expand Down
4 changes: 0 additions & 4 deletions ena_upload/templates/ENA_template_samples_ERC000035.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,14 @@ def attributetest(row, column):
<VALUE>${row['protocol']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'collection date')">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (country and/or sea)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'sampling time point')">
<SAMPLE_ATTRIBUTE>
<TAG>sampling time point</TAG>
Expand Down
2 changes: 0 additions & 2 deletions ena_upload/templates/ENA_template_samples_ERC000038.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,10 @@ def attributetest(row, column):
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
<py:if test="attributetest(row, 'geographic location (country and/or sea)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<SAMPLE_ATTRIBUTE>
<TAG>broad-scale environmental context</TAG>
<VALUE>${row['broad-scale environmental context']}</VALUE>
Expand Down
2 changes: 0 additions & 2 deletions ena_upload/templates/ENA_template_samples_ERC000039.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,10 @@ def attributetest(row, column):
<VALUE>${row['country of travel']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'collection date')">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
Expand Down
4 changes: 0 additions & 4 deletions ena_upload/templates/ENA_template_samples_ERC000041.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,14 @@ def attributetest(row, column):
<VALUE>${row['isolation_source']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'collection date')">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (country and/or sea)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (region and locality)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (region and locality)</TAG>
Expand Down
4 changes: 0 additions & 4 deletions ena_upload/templates/ENA_template_samples_ERC000043.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,14 @@ def attributetest(row, column):
<VALUE>${row['collected_by']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'collection date')">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (country and/or sea)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (latitude)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (latitude)</TAG>
Expand Down
2 changes: 0 additions & 2 deletions ena_upload/templates/ENA_template_samples_ERC000045.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ def attributetest(row, column):
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
<py:if test="attributetest(row, 'geographic location (country and/or sea)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (region and locality)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (region and locality)</TAG>
Expand Down
4 changes: 0 additions & 4 deletions ena_upload/templates/ENA_template_samples_ERC000051.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,14 @@ def attributetest(row, column):
</SAMPLE_NAME>
<DESCRIPTION>${row.sample_description}</DESCRIPTION>
<SAMPLE_ATTRIBUTES>
<py:if test="attributetest(row, 'collection date')">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (country and/or sea)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<SAMPLE_ATTRIBUTE>
<TAG>sample origin</TAG>
<VALUE>${row['sample origin']}</VALUE>
Expand Down
4 changes: 0 additions & 4 deletions ena_upload/templates/ENA_template_samples_ERC000052.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,14 @@ def attributetest(row, column):
<TAG>reference host genome for decontamination</TAG>
<VALUE>${row['reference host genome for decontamination']}</VALUE>
</SAMPLE_ATTRIBUTE>
<py:if test="attributetest(row, 'collection date')">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (country and/or sea)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (latitude)')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (latitude)</TAG>
Expand Down

0 comments on commit 455c38d

Please # to comment.