Skip to content

Commit 87099d7

Browse files
authored
Merge pull request #128 from usegalaxy-eu/checklist_update
Automatic update of ENA Sample Checklists
2 parents 324c215 + 9fbcbd7 commit 87099d7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ena_upload/templates/ENA_template_samples_ERC000031.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ def mandatorytest(row, column, index):
906906
<VALUE>${row['sample size sorting method']}</VALUE>
907907
</SAMPLE_ATTRIBUTE>
908908
</py:if>
909-
<py:if test="mandatorytest(row, 'organism count', index)">
909+
<py:if test="attributetest(row, 'organism count')">
910910
<SAMPLE_ATTRIBUTE>
911911
<TAG>organism count</TAG>
912912
<VALUE>${row['organism count']}</VALUE>
@@ -963,7 +963,7 @@ def mandatorytest(row, column, index):
963963
<UNITS>%</UNITS>
964964
</SAMPLE_ATTRIBUTE>
965965
</py:if>
966-
<py:if test="mandatorytest(row, 'air temperature', index)">
966+
<py:if test="attributetest(row, 'air temperature')">
967967
<SAMPLE_ATTRIBUTE>
968968
<TAG>air temperature</TAG>
969969
<VALUE>${row['air temperature']}</VALUE>
@@ -1030,7 +1030,7 @@ def mandatorytest(row, column, index):
10301030
<UNITS>year</UNITS>
10311031
</SAMPLE_ATTRIBUTE>
10321032
</py:if>
1033-
<py:if test="mandatorytest(row, 'carbon dioxide', index)">
1033+
<py:if test="attributetest(row, 'carbon dioxide')">
10341034
<SAMPLE_ATTRIBUTE>
10351035
<TAG>carbon dioxide</TAG>
10361036
<VALUE>${row['carbon dioxide']}</VALUE>

0 commit comments

Comments
 (0)