-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create subcommand for getting demo data #279
Conversation
For now, just use the existing test image registry. A future commit will switch to using some mouse data.
c2c0ca0
to
0621008
Compare
@naglepuff This is excellent. |
docs/demo.md
Outdated
This will create a new directory in the location it is run called `demo_files` and download several whole slide images into that directory. These images contain fake PHI, which we will redact with Image DePHI. | ||
|
||
## Redacting with the Graphical User Interface (GUI) | ||
Image DePHI allows redaction of whole slide images through either a graphical user interface, accessible through a web browser, or a command line interface. First, let's take a look at the readaction workflow using the graphical user interface. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
readaction -> redaction
docs/demo.md
Outdated
|
||
## Getting the demo data | ||
|
||
In order to get the demo data, you will need to have installed Image DePHI and run the following command: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Elsewhere we use "ImageDePHI" as a single word. I think I prefer that to having the space between Image and DePHI.
imagedephi/main.py
Outdated
hash = row["hash"] | ||
algo, hash_value = hash.split(":") | ||
pooch.retrieve( | ||
url=f"http://data.kitware.com/api/v1/file/hashsum/{algo}/{hash_value}/download", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to https
21e0740
to
e698b5f
Compare
Add Image DePHI demo.
Fix #190
Changes
1. New Subcommand
The new command
imagedephi demo-data
will parse the new filedemo_files.csv
and use pooch to download the files from DKC if you don't have that already.2. Demo walkthrough
Instructions on using both the Image DePHI GUI and CLI are included under
/docs
. There's also a link from the README.For Reviewers
Please make sure the new subcommand works and you can acquire the demo data. Also follow along with the walkthrough and provide feedback on clarity, coherence, etc.