Skip to content

Conversation

@Donaim
Copy link
Member

@Donaim Donaim commented Nov 19, 2025

Fixes #1407

Changes made:

  • Downloaded and integrated HIVdb 9.8 XML (dated 2025-01-05) from Stanford
  • Updated resistance.py to use HIVDB_9.8.xml algorithm file
  • Updated genreport.yaml with new version 9.8 and date 2025-01-05
  • Added DPV (dapirivine) NNRTI drug to genreport.yaml and test expectations
  • Updated all test files (test_resistance.py, test_asi_algorithm.py) for version 9.8
  • Added update guide in docs/contrib.md
  • Verified pyvdrm v0.3.2 compatibility with HIVdb 9.8

Note: CA region (Capsid) drug LEN was intentionally excluded as CA is not included in get_algorithm_regions() per previous implementation.

Fixes #1407

Changes made:
- Downloaded and integrated HIVdb 9.8 XML (dated 2025-01-05) from Stanford
- Updated resistance.py to use HIVDB_9.8.xml algorithm file
- Updated genreport.yaml with new version 9.8 and date 2025-01-05
- Added DPV (dapirivine) NNRTI drug to genreport.yaml and test expectations
- Updated all test files (test_resistance.py, test_asi_algorithm.py) for version 9.8
- Fixed drug name spelling from 'dapivirine' to 'dapirivine' per HIVdb XML
- Removed obsolete HIVDB_9.0.xml and HIVDB_9.4.xml files
- Added comprehensive update guide in docs/contrib.md
- Created automation script update_hivdb.py for future updates
- Verified pyvdrm v0.3.2 compatibility with HIVdb 9.8

All tests pass:
- 86 tests in micall/tests/test_resistance.py
- 28 tests in micall/tests/test_asi_algorithm.py
- 15 tests in micall/tests/test_genreport.py

Note: CA region (Capsid) drug LEN was intentionally excluded as CA is not
included in get_algorithm_regions() per previous implementation.
@Donaim Donaim requested a review from donkirkby November 19, 2025 21:44
@Donaim Donaim marked this pull request as ready for review November 19, 2025 21:45
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.

[Feature Request] Suggestion to update HIVdb to the latest version (9.8)

2 participants