Revision 925afb79
Added by Andreas Müller over 4 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/indexFungorum/IndexFungorumHigherClassificationImport.java | ||
---|---|---|
178 | 178 |
taxonFamily = makeTaxon(state, family, Rank.FAMILY()); |
179 | 179 |
if (taxonFamily != null){ |
180 | 180 |
try{ |
181 |
getClassification(state).addParentChild(higherTaxon, taxonFamily, null, null); |
|
181 |
//if this shown a warning see single issue in #2826 about Glomerelllaceae (which has 2 different parents) |
|
182 |
getClassification(state).addParentChild(higherTaxon, taxonFamily, null, null); |
|
182 | 183 |
}catch(IllegalStateException e){ |
183 | 184 |
if (e.getMessage().startsWith("The child taxon is already part of the tree")){ |
184 | 185 |
//TaxonNode node = getClassification(state).getNode(taxonFamily); |
Also available in: Unified diff
cleanup