Project

General

Profile

« Previous | Next » 

Revision 6758

inputs/CVS/taxonObservation_/map.csv: Fixed bug where need to indicate that data is plots data to prevent the specimenreplicate ID from being forwarded to the location ID

View differences:

inputs/CVS/taxonObservation_/map.csv
107 107
Subspecies,subspecies,,
108 108
Variety,variety,,
109 109
Forma,forma,,
110
:plot,sampleType,,
inputs/CVS/taxonObservation_/VegBIEN.csv
1 1
CVS,VegBIEN:/_setDefault:[source_id/source/shortname/_env:[name=source]]/path/_simplifyPath:[next=parent_id]/path,Comments
2 2
museumAccessionNumber,"/_if[@name=""if specimen""]/cond/_exists",
3
:plot,"/_if[@name=""if specimen""]/else/source:[shortname/_first/2/_env:[name=source]]/sampletype",
4
:plot,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/cond/_eq:[right=plot]/left",
3 5
museumAccessionNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/cond/_exists",
4 6
museumAccessionNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/then/_join/1/_if[@name=""if specimen""]/cond/_exists",
5 7
museumAccessionNumber,"/location/_if[@name=""if subplot""]/else/authorlocationcode/_first/3/_if[@name=""if plot""]/else/_alt/2/_if[@name=""if catalogNumber""]/then/_join/3/_if[@name=""if indirect voucher""]/else",
inputs/CVS/taxonObservation_/test.xml.ref
7 7
                <next>parent_id</next>
8 8
                <path>
9 9
                    <location>
10
                        <authorlocationcode>$museumAccessionNumber</authorlocationcode>
11 10
                        <locationevent>
12 11
                            <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
13 12
                            <taxonoccurrence>

Also available in: Unified diff