Skip to content

fix: Fall back to .tabular.schema.json in manifest lookup#1190

Merged
nathan-stender merged 4 commits into
mainfrom
fix/tabular-schema-manifest-lookup
Apr 21, 2026
Merged

fix: Fall back to .tabular.schema.json in manifest lookup#1190
nathan-stender merged 4 commits into
mainfrom
fix/tabular-schema-manifest-lookup

Conversation

@nathan-stender

Copy link
Copy Markdown
Collaborator

Summary

  • get_schema_path_from_manifest hardcoded .schema.json suffix, but LC REC/2023/03 and REC/2024/03 schemas are named .tabular.schema.json
  • This caused validate_asm_schema() to raise FileNotFoundError when validating ASM JSON for those techniques
  • Now falls back to .tabular.schema.json when .schema.json doesn't exist at the constructed path

Test plan

  • New test test_get_schema_path_from_manifest_tabular_fallback verifies LC REC/2023/03 resolves correctly
  • Existing test confirms normal schemas (plate-reader BENCHLING/2023/09) are unaffected
  • All 771 tests pass, lint clean

🤖 Generated with Claude Code

get_schema_path_from_manifest hardcoded .schema.json suffix, but LC
REC/2023/03 and REC/2024/03 schemas are named .tabular.schema.json.
This caused validate_asm_schema to raise FileNotFoundError for those
techniques.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nathan-stender
nathan-stender requested review from a team and slopez-b as code owners April 21, 2026 18:11
ajcariaga16
ajcariaga16 previously approved these changes Apr 21, 2026
nathan-stender and others added 2 commits April 21, 2026 14:46
.tabular.py is not importable as a Python module — the dot makes Python
treat it as a subpackage lookup. Convert dots to underscores in both the
codegen naming (naming.py) and runtime path lookups (path_util.py), with
filesystem fallback in the reverse model→schema direction.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nathan-stender
nathan-stender merged commit afde3ef into main Apr 21, 2026
9 checks passed
@nathan-stender
nathan-stender deleted the fix/tabular-schema-manifest-lookup branch April 21, 2026 18:55
nathan-stender added a commit that referenced this pull request Apr 21, 2026
### Fixed

- Fall back to .tabular.schema.json in manifest lookup (#1190)
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.

2 participants