Skip to content

Commit c4c5308

Browse files
committed
- supports individual count in recruitment protocol to be a sum of juvenile_count, seedling_count and sapling_count
1 parent 6be628e commit c4c5308

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

forms/mongo/insertParatooProtocolConfig.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -346,12 +346,7 @@ var protocols = {
346346
"dataType": "species"
347347
},
348348
"recruitment-sapling-and-seedling-count.juvenile_count": {
349-
"dwcAttribute": "individualCount"
350-
},
351-
"recruitment-sapling-and-seedling-count.seedling_count": {
352-
"dwcAttribute": "individualCount"
353-
},
354-
"recruitment-sapling-and-seedling-count.sapling_count": {
349+
"dwcExpression": "(juvenile_count ?:0) + (seedling_count ?:0) + (sapling_count ?:0)",
355350
"dwcAttribute": "individualCount"
356351
},
357352
"recruitment-sapling-and-seedling-count.voucher_full.host_species": {

0 commit comments

Comments
 (0)