We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I just noticed that when getting the biomes data as the relationship from a sample, it is different from the one from studies.
For instance in studies (https://wwwdev.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005782) sample.relationships.biomes.data it is an array of length 1:
sample.relationships.biomes.data
"biomes": { "links": { "related": "https://wwwdev.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005782/biomes" }, "data": [ { "type": "biomes", "id": "root:Environmental:Aquatic:Freshwater", "links": { "self": "https://wwwdev.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater" } } ] },
While in samples (https://wwwdev.ebi.ac.uk/metagenomics/api/v1/samples/SRS7452828) is directly the object:
"biome": { "data": { "type": "biomes", "id": "root:Environmental:Aquatic:Freshwater" }, "links": { "related": "https://wwwdev.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Freshwater" } },
The text was updated successfully, but these errors were encountered:
Mhh, just noticed that in studies, the relationship is called biomes while in samples is biome which sort of justifies Array v.s. Object content
biomes
biome
Array
Object
Sorry, something went wrong.
No branches or pull requests
I just noticed that when getting the biomes data as the relationship from a sample, it is different from the one from studies.
For instance in studies (https://wwwdev.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00005782)
sample.relationships.biomes.data
it is an array of length 1:While in samples (https://wwwdev.ebi.ac.uk/metagenomics/api/v1/samples/SRS7452828) is directly the object:
The text was updated successfully, but these errors were encountered: