You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new method for getting exp id
adding brapi endpoints
adding methods for brapi calls
brapi get studies, brapi get studies/germplasm added
removing todo since experiment_id added to sites json
method for getting map of site_ids and cultivar info per experiment id.
using brapi to get map of cultivars by site_id, this is added to cached sites json file and then added to site metadata in lemnatec
fixing unicode u
adding site names, this will help since brapi endpoint that gives treatments has studyDbId, but not siteid - it has sitename
adding treatments to cached sites file
treatments added to metadata
some plots do not have cultivar or treatment data available. in these cases the site entry will have 'no info available' as the value for cultivar and treatments
all dict entries now strings
check for keys replaces try/except, ending W or E removed
these changes work with an issue and pull request created in brapi. pagination did not work properly for the observationunits endpoint
using observationUnitName and not location_abbrevation
using 'definition' instead of 'treatment_description' to match actual key in bety db
adding page size to call to brapi observationunits
using one method brapi_get to make all requests
still need to fix getting all the observationunits
iterate through results for observation units page by page
one method brapi_get handles the brapi url, and version
method also paginates through results
new brapi.py class - brapi methods moved there
v1 added to endpoints, not read from environment variable
no need to remove ending W or E from plot names
0 commit comments