Skip to content

Feature Request: Filter capability for syncFromSynapse #899

@georggrab

Description

@georggrab

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions