Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor synapse-adjacent functions to use new reticulate-based synapser #94

Open
allaway opened this issue Mar 24, 2023 · 3 comments · Fixed by #168, #170 or #171
Open

Refactor synapse-adjacent functions to use new reticulate-based synapser #94

allaway opened this issue Mar 24, 2023 · 3 comments · Fixed by #168, #170 or #171
Assignees

Comments

@allaway
Copy link
Collaborator

allaway commented Mar 24, 2023

We should drop the custom import of the synapse python client in lieu of the new reticulate-based synapser, which likely will have better ongoing support (at least compared to us maintaining a custom import of the client) and will make it easier for users of this package to import in additional synapser functions/R docs instead of having to use synapseclient via reticulate.

@allaway
Copy link
Collaborator Author

allaway commented Mar 24, 2023

e.g. currently someone using nfportalutils has to use foo <- synapse$Synapse$tableQuery(.syn, "select * from syn12345")$asDataFrame() to query a table, instead of just foo <- synTableQuery("select * from syn12345")$asDataFrame()

@allaway
Copy link
Collaborator Author

allaway commented Dec 20, 2023

Well, I think I discovered at least one reason to do this: #164

@anngvu
Copy link
Contributor

anngvu commented Feb 23, 2024

Using this to keep track: Function list to check for needed conversion to synapser, meaning that we use synapser::synLogin() and can run that function without issues. Some functions that don't need touching, e.g. they just do things like make diagrams, can be checked off with NA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
2 participants