Skip to content

Commit 3921fbb

Browse files
authored
Merge pull request #93 from ImageMarkup/better-example-fields
Use diagnosis_3 as the canonical diagnosis search example
2 parents 85c710c + 6a48a08 commit 3921fbb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

isic_cli/cli/image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def image(ctx):
4747
"--search",
4848
type=SearchString(),
4949
default="",
50-
help="e.g. 'diagnosis:\"solar lentigo\" AND age_approx:50'",
50+
help="e.g. 'diagnosis_3:\"Melanoma Invasive\" AND age_approx:50'",
5151
)
5252
@click.option(
5353
"-c",
@@ -87,7 +87,7 @@ def download(
8787
8888
Some example queries are:
8989
90-
age_approx:50 AND diagnosis:melanoma
90+
age_approx:50 AND diagnosis_3:"Melanoma Invasive"
9191
9292
age_approx:[20 TO 40] AND sex:male
9393

isic_cli/cli/metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def validate(csv_file: io.TextIOWrapper): # noqa: C901, PLR0915, PLR0912
141141
"--search",
142142
type=SearchString(),
143143
default="",
144-
help='e.g. "diagnosis:melanoma AND age_approx:50"',
144+
help='e.g. "diagnosis_3:"Melanoma Invasive" AND age_approx:50"',
145145
)
146146
@click.option(
147147
"-c",
@@ -183,7 +183,7 @@ def download(
183183
184184
Some example queries are:
185185
186-
age_approx:50 AND diagnosis:melanoma
186+
age_approx:50 AND diagnosis_3:"Melanoma Invasive"
187187
188188
age_approx:[20 TO 40] AND sex:male
189189

0 commit comments

Comments
 (0)