Skip to content

Fix Reactome release version sentinel#51

Merged
adamjohnwright merged 1 commit into
mainfrom
fix/reactome-release-number-sentinel
Jul 23, 2026
Merged

Fix Reactome release version sentinel#51
adamjohnwright merged 1 commit into
mainfrom
fix/reactome-release-number-sentinel

Conversation

@Chryseisliu

Copy link
Copy Markdown
Collaborator

Description

Fix the Reactome version sentinel for current official graph images. Release 96 stores the release under DBInfo.releaseNumber, while the test only queried the older DBInfo.version property.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code quality improvement (refactoring, performance, etc.)

Changes Made

  • Read DBInfo.releaseNumber with DBInfo.version as a compatibility fallback.
  • Convert the selected value to an integer in Cypher so the existing sanity check remains stable.

Testing

Unit Tests

  • Added coverage through the existing database sentinel

Integration Tests

  • Ran tests/test_reactome_version.py against the official Reactome Release 96 Neo4j image

Manual Testing

  • Verified output: [reactome-version] tests ran against reactome v96

Checklist

  • Self-review completed
  • No debugging code left in
  • No credentials or sensitive information in code
  • Git commit message is clear and descriptive

Additional Notes

This is intentionally a small compatibility fix and does not change generated networks.

@adamjohnwright
adamjohnwright marked this pull request as ready for review July 23, 2026 13:28
@adamjohnwright
adamjohnwright merged commit b307c5f into main Jul 23, 2026
4 checks passed
@adamjohnwright
adamjohnwright deleted the fix/reactome-release-number-sentinel branch July 23, 2026 13:28
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