biosemantics / etc-site-archived-do-not-use

Source code for the ETC Toolkit web application
http://etc.cs.umb.edu/etcsite/
1 stars 0 forks source link

[Matrix Generation] taxon hierarchy not proper #629

Open hongcui opened 7 years ago

hongcui commented 7 years ago

when the author and date elements in were given different values, a hierarchy of taxa will not be constructed properly. A tree structure of taxa will not shown in the Matrix Review and this affects character inheritance.

While taxon name, rank, and authority and date in taxon_identification should be used to construct a unique ID for taxon, author and date in should not be used.

To fix this, look into edu.arizona.biosemantics.matrixgeneration.io.complete.in.SemanticMarkupReader.readPlainData(Map<String, Structure>, Map<String, Relation>, Map<Character, Character>, List, Map<TaxonIdentification, Taxon>, Map<StructureIdentifier, Map<Taxon, List>>, Map<Taxon, File>)

and the TaxonIdentification class in "common" need to be modified. "Common" used across different projects so be careful.