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

Feature Request: Filter capability for syncFromSynapse #899

Open
georggrab opened this issue Feb 23, 2022 · 1 comment
Open

Feature Request: Filter capability for syncFromSynapse #899

georggrab opened this issue Feb 23, 2022 · 1 comment

Comments

@georggrab
Copy link

Feature Request

Just started using Synapse for a dataset which contains data for multiple image analysis use-cases. Our team only needs a small subset of available data for the time being. As such, it would be great to have some sort of filtering capability in syncFromSynapse to only specify files that are needed. I will attach a pull request to elaborate.
Thanks!

Expected behavior

syncFromSynapse allows for filtering capability:

import synapseutils

match_only = ['instrument_instances.png', 'raw.png']
synapseutils.syncFromSynapse(syn, entity=project_id, path=local_folder, onlyMatching=match_only)
@thomasyu888
Copy link
Member

Thanks for your feature contribution! We will discuss internally about this contribution!

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

No branches or pull requests

2 participants