Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@imaurer
Copy link
Collaborator

@imaurer imaurer commented Sep 3, 2025

  • Remove non-existent BioMCPClient class references
  • Add correct modular import patterns (biomcp.variants.search, etc.)
  • Update all examples to use working API structure
  • Add LangChain integration example
  • Clarify differences between documented vs actual API

Fixes issue where users couldn't import BioMCPClient as documented. The actual package uses individual domain modules, not a unified client.

- Remove non-existent BioMCPClient class references
- Add correct modular import patterns (biomcp.variants.search, etc.)
- Update all examples to use working API structure
- Add LangChain integration example
- Clarify differences between documented vs actual API

Fixes issue where users couldn't import BioMCPClient as documented.
The actual package uses individual domain modules, not a unified client.
@imaurer imaurer requested a review from jyeakley September 3, 2025 21:13
- Add back get_variant() function that was incorrectly removed
- Add back predict_variant_effects() AlphaGenome function
- Fix VariantQuery parameter names (max_frequency not frequency_max, cadd not cadd_score_min)
- Add missing VariantQuery fields: hgvsp, hgvsc, region, polyphen, sift, sources, size, offset
- Correct examples to use proper parameter names
- Update import patterns to include getter and alphagenome modules

This corrects the overly aggressive removal of legitimate API functions
and ensures documentation matches the actual code structure.
Clinical trial NCT04280705 references have been updated in the
ClinicalTrials.gov database. Updated test expectations to match
current data:

- First reference PMID: 34473343 -> 38657001
- Second reference PMID: 34350582 -> 37466213

This fixes the failing BDD test in CI/prod environments.
@jyeakley jyeakley merged commit dba4671 into main Sep 5, 2025
6 checks passed
@imaurer imaurer deleted the fix-docs branch September 10, 2025 13:31
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.

3 participants