Open turbomam opened 10 months ago
@pkalita-lbl have you worked on anything like this yet?
I'm getting the Attributes for one NCBI Biosample here from the efetch API. We also have a Postgres version of the NCBI Biosample database on SPIN.
There's some code in https://github.com/INCATools/biosample-analysis that tries to clean up some NCBI Biosample attributes. I don't think it uses nmdc-chema or submission-schema classes as its target.
It was some of the earliest and worst code I wrote for BBOP.
It might not be much use doing any more research in there.
I don't know why the actions are saying
Because nmdc-submission-schema depends on xmltodict (^0.13.0) which doesn't match any versions, version solving failed. Error: Process completed with exit code 1.
Instantiating against
submission-schema
instead ofnmdc-schema
becausesubmission-schema
is already flat, like NCBI Biosample attributes.SoilInterface
(for example) that are unlikely to be asserted for NCBI Biosampleslat_lon
of '71.323 N 156.6114 W'