Skip to content

Commit

Permalink
Merge pull request #864 from WildMeOrg/annotation-export-sex-lifestage
Browse files Browse the repository at this point in the history
annotation export: regrouped/labeled ind info, added enc info
  • Loading branch information
JasonWildMe authored Nov 8, 2024
2 parents 638f721 + cbbc559 commit 1b6dce8
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,14 @@ public void doPost(HttpServletRequest request, HttpServletResponse response)
annViewpoint, columns);
aanViewpointK.setMaNum(maNum);
}
// individual names and summaries
MultiValueExportColumn.addNameColumns(numNameCols, columns);
ExportColumn markedIndividualSex = new ExportColumn(MarkedIndividual.class,
"Encounter.sex", markedIndividualSexName, columns);
"IndividualSummary.sex", markedIndividualSexName, columns);
ExportColumn markedIndividuallifeStage = new ExportColumn(MarkedIndividual.class,
"Encounter.lifeStage", markedIndividualLifeStageName, columns);
"IndividualSummary.lifeStage", markedIndividualLifeStageName, columns);

MultiValueExportColumn.addNameColumns(numNameCols, columns);
// encounter information
newEasyColumn("Encounter.genus", columns);
newEasyColumn("Encounter.specificEpithet", columns);
newEasyColumn("Encounter.verbatimLocality", columns);
Expand All @@ -222,6 +224,8 @@ public void doPost(HttpServletRequest request, HttpServletResponse response)
newEasyColumn("Encounter.day", columns);
newEasyColumn("Encounter.hour", columns);
newEasyColumn("Encounter.minutes", columns);
newEasyColumn("Encounter.sex", columns);
newEasyColumn("Encounter.lifeStage", columns);
newEasyColumn("Encounter.occurrenceRemarks", columns);
ExportColumn OccurrenceComments = new ExportColumn(Occurrence.class,
"Occurrence.comments", occurrenceComments, columns);
Expand Down

0 comments on commit 1b6dce8

Please sign in to comment.