Project

General

Profile

« Previous | Next » 

Revision 5338

mappings/VegCore-VegBIEN.csv: verbatim* taxonconcept: Don't create hierarchy of parent taxonconcepts, because the parsed names (rather than the names for the matched taxonconcept) are from the input taxonomic name, rather than from the official tree of life used by TNRS. Otherwise, if a taxonomic name provides e.g. no family (common), a separate genus taxonconcept would have been created with no parent_id, which would not compare equal to the matched taxonconcept's genus with a parent_id. Continue to store the parsed family, genus, species in the family, genus, species cached fields, because the parsed family is often different from the matched taxonconcept's family when e.g. no family is provided in the taxonomic name.

View differences:

test.xml.ref
156 156
                                        <family>$Family_matched</family>
157 157
                                        <genus>$Genus_matched</genus>
158 158
                                        <identifyingtaxonomicname>$Name_submitted</identifyingtaxonomicname>
159
                                        <parent_id>
160
                                            <taxonconcept>
161
                                                <parent_id>
162
                                                    <taxonconcept>
163
                                                        <rank>cultivar</rank>
164
                                                        <parent_id>
165
                                                            <taxonconcept>
166
                                                                <rank>forma</rank>
167
                                                                <parent_id>
168
                                                                    <taxonconcept>
169
                                                                        <rank>variety</rank>
170
                                                                        <parent_id>
171
                                                                            <taxonconcept>
172
                                                                                <rank>subspecies</rank>
173
                                                                                <parent_id>
174
                                                                                    <taxonconcept>
175
                                                                                        <rank>species</rank>
176
                                                                                        <taxonname>$Specific_epithet_matched</taxonname>
177
                                                                                        <parent_id>
178
                                                                                            <taxonconcept>
179
                                                                                                <rank>genus</rank>
180
                                                                                                <taxonname>$Genus_matched</taxonname>
181
                                                                                                <parent_id>
182
                                                                                                    <taxonconcept>
183
                                                                                                        <rank>family</rank>
184
                                                                                                        <taxonname>$Family_matched</taxonname>
185
                                                                                                    </taxonconcept>
186
                                                                                                </parent_id>
187
                                                                                            </taxonconcept>
188
                                                                                        </parent_id>
189
                                                                                    </taxonconcept>
190
                                                                                </parent_id>
191
                                                                            </taxonconcept>
192
                                                                        </parent_id>
193
                                                                    </taxonconcept>
194
                                                                </parent_id>
195
                                                            </taxonconcept>
196
                                                        </parent_id>
197
                                                    </taxonconcept>
198
                                                </parent_id>
199
                                                <taxonname>$Infraspecific_epithet_matched</taxonname>
200
                                                <verbatimrank>$Infraspecific_rank</verbatimrank>
201
                                            </taxonconcept>
202
                                        </parent_id>
203 159
                                        <species>$Specific_epithet_matched</species>
204 160
                                        <taxonname>$Unmatched_terms</taxonname>
205 161
                                        <taxonomicname>$Name_matched</taxonomicname>
......
217 173
        </path>
218 174
    </_simplifyPath>
219 175
</VegBIEN>
220
Inserted 13 new rows into database
176
Inserted 10 new rows into database

Also available in: Unified diff