Releases: clingen-data-model/clinvar-curation-input-tool
Releases · clingen-data-model/clinvar-curation-input-tool
3.3
🎉 ClinVar Curator v3.3 Release
🔧 Major Fixes
- Fixed ClinVar HTML parsing for February 2025 UI changes
- Enhanced SCV extraction to handle new HTML structure with stars-description divs
- Improved error handling with null checks and fallback extraction methods
- Adaptive parsing logic that automatically detects and handles HTML structure changes
⚡ Key Improvements
- 100% extraction success rate against current ClinVar HTML
- Comprehensive logging for debugging HTML structure changes
- Method field handling for cases where it no longer exists in new HTML
- Robust fallback logic tries multiple extraction approaches for each data field
🧪 New Testing Framework
- Complete unit testing infrastructure for content.js functions
- Real code testing - tests actual production code, not copies
- HTML sample management in
testing/html-samples/directory - Automated validation with detailed reporting of extraction results
- JSDOM integration for proper DOM environment simulation
🛠️ Developer Experience
- Made content.js testable while maintaining Chrome extension functionality
- Environment detection for browser vs Node.js execution
- Comprehensive documentation in CLAUDE.md for development guidance
- Analysis reports showing exactly what changed in ClinVar HTML
📊 Test Results
- ✅ VCV extraction: VCV000590935.4
- ✅ Variation ID: 590935
- ✅ Variant name: NM_001200.4(BMP2):c.178A>C (p.Met60Leu)
- ✅ VCV interpretation: "Uncertain significance"
- ✅ Timeline data: Correctly extracted
- ✅ SCV extraction: All 3 SCVs successfully extracted
- ✅ Review statuses: Properly parsed from new HTML structure
🚀 How to Test
cd testing
npm install
npm test📋 Installation
- Download the
scvcfolder from this release - Load unpacked extension in Chrome developer mode
- Navigate to ClinVar variation pages to test
The extension now handles the current ClinVar HTML structure and includes comprehensive testing to prevent future breakage.
This release includes extensive improvements to handle ClinVar's evolving HTML structure with future-proof adaptive parsing.
Full Changelog: 3.2...3.3
3.2
3.1
3.0
- This is a combination of merging and modifying v1.16 and v2.0.2 below.
- Major update to the internal code and configuration based on Google chrome extension manifest v3 specifications.
- Removal and replacement of Google API (GAPI) which is no longer supported.
- Internal code refactoring and improvements for more reliable error handling.
1.16
1.15
1.14
1.13
1.12.2
1.12.1
What's Changed
- added handling of
no classification providedterm by @larrybabb in #76
Full Changelog: 1.12...1.12.1