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

Easier deployment of sample resources, metadata, and annotations #245

Open
manthey opened this issue Feb 6, 2023 · 2 comments
Open

Easier deployment of sample resources, metadata, and annotations #245

manthey opened this issue Feb 6, 2023 · 2 comments

Comments

@manthey
Copy link
Contributor

manthey commented Feb 6, 2023

Currently, the provisioning script will install a fixed set of samples if requested. It would be nice if this could be specified more explicitly. Something like:

initial-data:
  - source-host: <girder api url>
    source-resource-path: </collection/sample/folder>
    destination-resource-path: </collection/sample/folder>
    destination-owner: <user id>
    include-metadata: <boolean>
    include-annotations: <boolean>
@manthey
Copy link
Contributor Author

manthey commented Aug 12, 2024

@dgutman @cooperlab

I was thinking we should have 2 or more sample data sets for the DSA that are quasi-real that would include images, metadata, and annotations. They should be too big, but should be big enough to show off some of the features. Maybe something like a half dozen of the TCGA images from the crowd source paper including annotations and marked up with the TCGA source metadata, plus an example that would show off brain samples or something.

I wrote a simple little script that will package everything from a folder and its subfolders into a zip file and extract the same. In the ideal world, there would be a process with only a few steps to let a user get these samples and add them to a collection (DSA Demos?) so they could play with them. I have a provisional workflow which would be (a) install a slicer_cli_web algorithm plugin that has a "Get Demo Set" task, (b) Navigate to the "Get Demo Set" task, (c) paste a URL to a zip file, (d) click "Run". This still feels like too many steps for the novice. I'm always torn between having a magical "get data" method and showing someone how something actually works.

@cooperlab
Copy link
Contributor

This is a great idea and for this one I would lean towards the magical "get data" method.

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