Skip to content

Comments

[SYNPY-1607] Interface re-write and version un-pinning initiative#350

Draft
BryanFauble wants to merge 5 commits intodevelopfrom
synpy-1607-r-interface-refactor
Draft

[SYNPY-1607] Interface re-write and version un-pinning initiative#350
BryanFauble wants to merge 5 commits intodevelopfrom
synpy-1607-r-interface-refactor

Conversation

@BryanFauble
Copy link
Member

Problem:

  • The now legacy Synapse python Client requires that the R-interface use specific versions of packages like rjson, reticulate, and R. This leads to significant barriers when using the R client within a larger environment requiring the need to carefully juggle versions of packages.
  • The new models interface of the SYNPY client is not yet exposed to the R-client

Solution:

  • Enhance synapser package functionality and documentation
  • Updated .gitignore to exclude launch.json.
  • Added Bryan Fauble as an author in DESCRIPTION.
  • Refined dependency specifications in DESCRIPTION for reticulate and rjson.
  • Introduced new functions to define class methods and functional interfaces for Python classes in R.
  • Enhanced auto-generation of R wrappers for Python classes, including support for functional interfaces.
  • Improved documentation generation for functional interface functions.
  • Cleaned up shared utility functions and removed deprecated code.
  • Updated Python client version to 4.8.0 and adjusted package installation requirements.
  • Refactored gateway.py to improve generator handling and annotations.
  • Enhanced pyPkgInfo.py to support protocol method detection and documentation extraction.
  • Streamlined createRdFiles.R to generate documentation for both Synapse and models.

Testing:

- Updated .gitignore to exclude launch.json.
- Added Bryan Fauble as an author in DESCRIPTION.
- Refined dependency specifications in DESCRIPTION for reticulate and rjson.
- Introduced new functions to define class methods and functional interfaces for Python classes in R.
- Enhanced auto-generation of R wrappers for Python classes, including support for functional interfaces.
- Improved documentation generation for functional interface functions.
- Cleaned up shared utility functions and removed deprecated code.
- Updated Python client version to 4.8.0 and adjusted package installation requirements.
- Refactored gateway.py to improve generator handling and annotations.
- Enhanced pyPkgInfo.py to support protocol method detection and documentation extraction.
- Streamlined createRdFiles.R to generate documentation for both Synapse and models.
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.

1 participant