PhenoApps / Field-Book

https://fieldbook.phenoapps.org
GNU General Public License v2.0
52 stars 54 forks source link

BrAPI Workflow UI #1048

Closed chaneylc closed 5 days ago

chaneylc commented 2 months ago

Description

New UI for BrAPI study import

Required BrAPI calls: GET studies / trials are required, latter is needed to filter by program since program data is not included in study objects GET commonCropNames, trials, seasons, programs GET observationlevels (although I noticed servers implement this differently, some don't return anything when supplying a programDbId, in that case you have to supply null) GET observationVariables (from previous implementation, traits are imported with the studies) GET observationUnits GET germplasms (used to populate unit attribute table further)

Tested on BrAPI test server and Cassavabase. The test server seems to have only one study that contains plots. Cassavabase has a lot of data, making filtering interesting, but most calls take a long time to load.

Type of change

What type of changes does your code introduce? Put an x in boxes that apply.


New BrAPI Study import UI
trife commented 2 months ago