NKI-AI / slidescore-api

Python utilities to interface with SlideScore
Apache License 2.0
3 stars 3 forks source link

Option to download only slides with specific naming pattern #44

Closed terrywschan closed 9 months ago

terrywschan commented 1 year ago

Is your feature request related to a problem? Please describe. I would like to be able to batch download only slides that match a certain naming pattern within a study. As far as I am aware, right now there is no option to do this with the download-wsis command.

Describe the solution you'd like Add a CLI option for the download-wsis command, where a file name pattern (ideally regex) can be given. Executing such command will filter the slides in the given study and download only matching slides.

Describe alternatives you've considered Add an option to read a text file with a list of files to be downloaded.

Additional context N/A

terrywschan commented 9 months ago

Solved by 8165f61 Work like a charm! Thanks! Taking the liberty to close the issue.