Project

General

Profile

« Previous | Next » 

Revision 6695

dict2redmine: RedmineTableWriter: Fixed bug where need to escape embedded | , using new redmine_table_esc()

View differences:

bin/dict2redmine
73 73
        self.stream = stream
74 74
    
75 75
    def writerow(self, row):
76
        row = map(redmine_table_esc, row)
76 77
        self.stream.write(('|'.join(['']+row+['']))+'\n')
77 78

  
78 79
class RedmineDictWriter:
mappings/VegCore.redmine
1030 1030
h3. "forma":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/fm
1031 1031

  
1032 1032
|*Sources*|"TCS:fm":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/fm, "Wikipedia:Ranks_in_botany":http://en.wikipedia.org/wiki/Taxonomic_rank#Ranks_in_botany|
1033
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS|[TCS]]]*|
1033
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS<notextile>|</notextile>[TCS]]]*|
1034 1034

  
1035 1035
h3. "acceptedForma":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/fm
1036 1036

  
1037 1037
|*Sources*|"TCS:fm":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/fm, "Wikipedia:Ranks_in_botany":http://en.wikipedia.org/wiki/Taxonomic_rank#Ranks_in_botany, "DwC:acceptedNameUsage":http://rs.tdwg.org/dwc/terms/#acceptedNameUsage|
1038
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS|[TCS]]]*|
1038
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS<notextile>|</notextile>[TCS]]]*|
1039 1039

  
1040 1040
h3. "originalForma":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/fm
1041 1041

  
1042 1042
|*Sources*|"TCS:fm":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/fm, "Wikipedia:Ranks_in_botany":http://en.wikipedia.org/wiki/Taxonomic_rank#Ranks_in_botany, "DwC:originalNameUsage":http://rs.tdwg.org/dwc/terms/#originalNameUsage|
1043
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS|[TCS]]]*|
1043
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS<notextile>|</notextile>[TCS]]]*|
1044 1044

  
1045 1045
h3. "verbatimForma":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/fm
1046 1046

  
1047 1047
|*Sources*|"TCS:fm":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/fm, "Wikipedia:Ranks_in_botany":http://en.wikipedia.org/wiki/Taxonomic_rank#Ranks_in_botany, "DwC:verbatimTaxonRank":http://rs.tdwg.org/dwc/terms/#verbatimTaxonRank|
1048
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS|[TCS]]]*|
1048
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS<notextile>|</notextile>[TCS]]]*|
1049 1049

  
1050 1050
h3. "variety":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/var
1051 1051

  
1052 1052
|*Sources*|"TCS:var":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/var, "Wikipedia:Ranks_in_botany":http://en.wikipedia.org/wiki/Taxonomic_rank#Ranks_in_botany|
1053
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS|[TCS]]]*|
1053
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS<notextile>|</notextile>[TCS]]]*|
1054 1054

  
1055 1055
h3. "acceptedVariety":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/var
1056 1056

  
1057 1057
|*Sources*|"TCS:var":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/var, "Wikipedia:Ranks_in_botany":http://en.wikipedia.org/wiki/Taxonomic_rank#Ranks_in_botany, "DwC:acceptedNameUsage":http://rs.tdwg.org/dwc/terms/#acceptedNameUsage|
1058
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS|[TCS]]]*|
1058
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS<notextile>|</notextile>[TCS]]]*|
1059 1059

  
1060 1060
h3. "originalVariety":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/var
1061 1061

  
1062 1062
|*Sources*|"TCS:var":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/var, "Wikipedia:Ranks_in_botany":http://en.wikipedia.org/wiki/Taxonomic_rank#Ranks_in_botany, "DwC:originalNameUsage":http://rs.tdwg.org/dwc/terms/#originalNameUsage|
1063
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS|[TCS]]]*|
1063
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS<notextile>|</notextile>[TCS]]]*|
1064 1064

  
1065 1065
h3. "verbatimVariety":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/var
1066 1066

  
1067 1067
|*Sources*|"TCS:var":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankBelowSubspeciesEnum/var, "Wikipedia:Ranks_in_botany":http://en.wikipedia.org/wiki/Taxonomic_rank#Ranks_in_botany, "DwC:verbatimTaxonRank":http://rs.tdwg.org/dwc/terms/#verbatimTaxonRank|
1068
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS|[TCS]]]*|
1068
|*Comments*|Form, race, variety are not subject to regulation in zoology; see ICZN Article 1.3.4 *[[VegCore#TCS<notextile>|</notextile>[TCS]]]*|
1069 1069

  
1070 1070
h3. "cultivar":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankCultivatedPlants/cv
1071 1071

  
1072 1072
|*Sources*|"TCS:cv":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankCultivatedPlants/cv|
1073
|*Comments*|The epithet is usually output in single quotes and may contain multiple words, see ICBN §28 *[[VegCore#TCS|[TCS]]]*|
1073
|*Comments*|The epithet is usually output in single quotes and may contain multiple words, see ICBN §28 *[[VegCore#TCS<notextile>|</notextile>[TCS]]]*|
1074 1074

  
1075 1075
h3. "acceptedCultivar":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankCultivatedPlants/cv
1076 1076

  
1077 1077
|*Sources*|"TCS:cv":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankCultivatedPlants/cv, "DwC:acceptedNameUsage":http://rs.tdwg.org/dwc/terms/#acceptedNameUsage|
1078
|*Comments*|The epithet is usually output in single quotes and may contain multiple words, see ICBN §28 *[[VegCore#TCS|[TCS]]]*|
1078
|*Comments*|The epithet is usually output in single quotes and may contain multiple words, see ICBN §28 *[[VegCore#TCS<notextile>|</notextile>[TCS]]]*|
1079 1079

  
1080 1080
h3. "originalCultivar":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankCultivatedPlants/cv
1081 1081

  
1082 1082
|*Sources*|"TCS:cv":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankCultivatedPlants/cv, "DwC:originalNameUsage":http://rs.tdwg.org/dwc/terms/#originalNameUsage|
1083
|*Comments*|The epithet is usually output in single quotes and may contain multiple words, see ICBN §28 *[[VegCore#TCS|[TCS]]]*|
1083
|*Comments*|The epithet is usually output in single quotes and may contain multiple words, see ICBN §28 *[[VegCore#TCS<notextile>|</notextile>[TCS]]]*|
1084 1084

  
1085 1085
h3. "verbatimCultivar":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankCultivatedPlants/cv
1086 1086

  
1087 1087
|*Sources*|"TCS:cv":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankCultivatedPlants/cv, "DwC:verbatimTaxonRank":http://rs.tdwg.org/dwc/terms/#verbatimTaxonRank|
1088
|*Comments*|The epithet is usually output in single quotes and may contain multiple words, see ICBN §28 *[[VegCore#TCS|[TCS]]]*|
1088
|*Comments*|The epithet is usually output in single quotes and may contain multiple words, see ICBN §28 *[[VegCore#TCS<notextile>|</notextile>[TCS]]]*|
1089 1089

  
1090 1090
h3. "subspecies":http://www.tdwg.org/standards/117/download/#/v101.xsd#/TaxonomicRankSpeciesGroupEnum/ssp
1091 1091

  

Also available in: Unified diff