Skip to content

Commit 6c66602

Browse files
author
Adam Collins
committed
fix for DistributionRematchLsid
1 parent 5cbb2de commit 6c66602

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/groovy/au/org/ala/spatial/process/DistributionRematchLsid.groovy

+4-4
Original file line numberDiff line numberDiff line change
@@ -92,20 +92,20 @@ class DistributionRematchLsid extends SlaveProcess {
9292
def genusID = ''
9393
def ignoreTaxonMatch = false
9494

95-
def value = output.get('taxonConceptID')
95+
def value = output.get('taxonConceptID', null)
9696
if (value) {
9797
taxonConceptID = value
9898
}
99-
value = output.get('familyID')
99+
value = output.get('familyID', null)
100100
if (value) {
101101
familyID = value
102102
}
103-
value = output.get('genusID')
103+
value = output.get('genusID', null)
104104
if (value) {
105105
genusID = value
106106
}
107107

108-
value = output.get('issues')
108+
value = output.get('issues', null)
109109
ignoreTaxonMatch = ('' + value).indexOf('excluded') >= 0
110110

111111
if (ignoreTaxonMatch) {

0 commit comments

Comments
 (0)