Skip to content

test: finish adapter validation (importer coverage + export conformance)#96

Open
sorenwacker wants to merge 1 commit into
mainfrom
validate-adapter-coverage
Open

test: finish adapter validation (importer coverage + export conformance)#96
sorenwacker wants to merge 1 commit into
mainfrom
validate-adapter-coverage

Conversation

@sorenwacker

Copy link
Copy Markdown
Owner

Closes the validation gap flagged in the review's honest status.

Importer coverage — exercised each importer against several diverse live accessions (ENA run/sample/study incl. a 495-file study; 4 PXD incl. a 2384-file project; 4 MTBLS with 1-9 people / 1-3 assays). No new mapping gaps surfaced — the review fixes hold on real data.

Export conformance — every exporter now has an @network round-trip conformance test, not just ENA:

  • PRIDE: submission.px structure (required MTD lines + well-formed FMH/FME).
  • MetaboLights: ISA-Tab sections + study/assay/MAF files with mandatory headers.
  • BrAPI: v2 object shape via jsonschema (asserts the level stays nested in observationUnitPosition — guards the fixed bug).
  • ENA: already validates against the official SRA XSD.

The one remaining unknown is acceptance by the live submission endpoints (no export round-tripped through a real submission system yet). jsonschema added to dev; mkdocs --strict / ruff / mypy green.

🤖 Generated with Claude Code

Add @network round-trip conformance tests so every exporter is validated, not
just ENA: PRIDE submission.px structure (required MTD + FMH/FME), MetaboLights
ISA-Tab sections + study/assay/MAF files, and the BrAPI v2 object shape via
jsonschema (asserting the level stays nested in observationUnitPosition).
Document that importers were exercised across diverse live accessions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant