Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions ena_upload/templates/ENA_template_samples_ERC000011.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,16 @@ def mandatorytest(row, column, index):
<VALUE>${row['collected_by']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="mandatorytest(row, 'collection date', index)">
<py:if test="mandatorytest(row, 'collection_date', index)">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
<TAG>collection_date</TAG>
<VALUE>${row['collection_date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (region and locality)')">
<py:if test="attributetest(row, 'geographic_location_region_and_locality')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (region and locality)</TAG>
<VALUE>${row['geographic location (region and locality)']}</VALUE>
<TAG>geographic_location_region_and_locality</TAG>
<VALUE>${row['geographic_location_region_and_locality']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'identified_by')">
Expand All @@ -117,10 +117,10 @@ def mandatorytest(row, column, index):
<VALUE>${row['sex']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="mandatorytest(row, 'geographic location (country and/or sea)', index)">
<py:if test="mandatorytest(row, 'geographic_location_country_andor_sea', index)">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
<TAG>geographic_location_country_andor_sea</TAG>
<VALUE>${row['geographic_location_country_andor_sea']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'lab_host')">
Expand All @@ -129,10 +129,10 @@ def mandatorytest(row, column, index):
<VALUE>${row['lab_host']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'host scientific name')">
<py:if test="attributetest(row, 'host_scientific_name')">
<SAMPLE_ATTRIBUTE>
<TAG>host scientific name</TAG>
<VALUE>${row['host scientific name']}</VALUE>
<TAG>host_scientific_name</TAG>
<VALUE>${row['host_scientific_name']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'bio_material')">
Expand Down
402 changes: 201 additions & 201 deletions ena_upload/templates/ENA_template_samples_ERC000012.xml

Large diffs are not rendered by default.

546 changes: 273 additions & 273 deletions ena_upload/templates/ENA_template_samples_ERC000013.xml

Large diffs are not rendered by default.

564 changes: 282 additions & 282 deletions ena_upload/templates/ENA_template_samples_ERC000014.xml

Large diffs are not rendered by default.

468 changes: 234 additions & 234 deletions ena_upload/templates/ENA_template_samples_ERC000015.xml

Large diffs are not rendered by default.

462 changes: 231 additions & 231 deletions ena_upload/templates/ENA_template_samples_ERC000016.xml

Large diffs are not rendered by default.

468 changes: 234 additions & 234 deletions ena_upload/templates/ENA_template_samples_ERC000017.xml

Large diffs are not rendered by default.

486 changes: 243 additions & 243 deletions ena_upload/templates/ENA_template_samples_ERC000018.xml

Large diffs are not rendered by default.

520 changes: 260 additions & 260 deletions ena_upload/templates/ENA_template_samples_ERC000019.xml

Large diffs are not rendered by default.

704 changes: 352 additions & 352 deletions ena_upload/templates/ENA_template_samples_ERC000020.xml

Large diffs are not rendered by default.

544 changes: 272 additions & 272 deletions ena_upload/templates/ENA_template_samples_ERC000021.xml

Large diffs are not rendered by default.

608 changes: 304 additions & 304 deletions ena_upload/templates/ENA_template_samples_ERC000022.xml

Large diffs are not rendered by default.

482 changes: 241 additions & 241 deletions ena_upload/templates/ENA_template_samples_ERC000023.xml

Large diffs are not rendered by default.

644 changes: 322 additions & 322 deletions ena_upload/templates/ENA_template_samples_ERC000024.xml

Large diffs are not rendered by default.

426 changes: 213 additions & 213 deletions ena_upload/templates/ENA_template_samples_ERC000025.xml

Large diffs are not rendered by default.

658 changes: 329 additions & 329 deletions ena_upload/templates/ENA_template_samples_ERC000027.xml

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions ena_upload/templates/ENA_template_samples_ERC000028.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@ def mandatorytest(row, column, index):
<VALUE>${row['collected_by']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="mandatorytest(row, 'collection date', index)">
<py:if test="mandatorytest(row, 'collection_date', index)">
<SAMPLE_ATTRIBUTE>
<TAG>collection date</TAG>
<VALUE>${row['collection date']}</VALUE>
<TAG>collection_date</TAG>
<VALUE>${row['collection_date']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'geographic location (region and locality)')">
<py:if test="attributetest(row, 'geographic_location_region_and_locality')">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (region and locality)</TAG>
<VALUE>${row['geographic location (region and locality)']}</VALUE>
<TAG>geographic_location_region_and_locality</TAG>
<VALUE>${row['geographic_location_region_and_locality']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'identified_by')">
Expand All @@ -81,16 +81,16 @@ def mandatorytest(row, column, index):
<VALUE>${row['mating_type']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="mandatorytest(row, 'geographic location (country and/or sea)', index)">
<py:if test="mandatorytest(row, 'geographic_location_country_andor_sea', index)">
<SAMPLE_ATTRIBUTE>
<TAG>geographic location (country and/or sea)</TAG>
<VALUE>${row['geographic location (country and/or sea)']}</VALUE>
<TAG>geographic_location_country_andor_sea</TAG>
<VALUE>${row['geographic_location_country_andor_sea']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="mandatorytest(row, 'host health state', index)">
<py:if test="mandatorytest(row, 'host_health_state', index)">
<SAMPLE_ATTRIBUTE>
<TAG>host health state</TAG>
<VALUE>${row['host health state']}</VALUE>
<TAG>host_health_state</TAG>
<VALUE>${row['host_health_state']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'lab_host')">
Expand All @@ -99,10 +99,10 @@ def mandatorytest(row, column, index):
<VALUE>${row['lab_host']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="mandatorytest(row, 'host scientific name', index)">
<py:if test="mandatorytest(row, 'host_scientific_name', index)">
<SAMPLE_ATTRIBUTE>
<TAG>host scientific name</TAG>
<VALUE>${row['host scientific name']}</VALUE>
<TAG>host_scientific_name</TAG>
<VALUE>${row['host_scientific_name']}</VALUE>
</SAMPLE_ATTRIBUTE>
</py:if>
<py:if test="attributetest(row, 'bio_material')">
Expand Down
Loading