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

Minor fixes to align with new dataset, changed schema name in RUNME #79

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions 01-dcm-demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@
# MAGIC meta:['00082218'].Value[0]['00080104'].Value[0] `Anatomic Region Sequence Attribute decoded`,
# MAGIC meta:['0008103E'].Value[0] `Series Description Attribute`,
# MAGIC meta:['00081030'].Value[0] `Study Description Attribute`,
# MAGIC meta:`00540220`.Value[0].`00080104`.Value[0] `projection`, -- backticks work for numeric keys
# MAGIC split(meta:`00081030`.`Value`[0],'_')[0] `Label`,
# MAGIC split(meta:`00081030`.`Value`[0],'_')[1] `Instance`
# MAGIC meta:`00540220`.Value[0].`00080104`.Value[0] `projection` -- backticks work for numeric keys
# MAGIC FROM ${table}

# COMMAND ----------
Expand All @@ -138,7 +136,7 @@
# MAGIC meta:hash, meta:img_min, meta:img_max, path, -- technical metadata
# MAGIC meta -- DICOM header metadata as JSON
# MAGIC FROM ${table}
# MAGIC WHERE array_contains( path_tags, 'patient4527' ) -- query based on a part of the filename
# MAGIC WHERE array_contains( path_tags, 'patient5397' ) -- query based on a part of the filename
# MAGIC order by patient_name

# COMMAND ----------
Expand Down
4 changes: 2 additions & 2 deletions RUNME.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@
"parameters": [
{
"name": "table",
"default": "main.pixel_solacc.object_catalog"
"default": "main.pixels_solacc.object_catalog"
},
{
"name": "volume",
"default": "main.pixel_solacc.pixels_volume"
"default": "main.pixels_solacc.pixels_volume"
}
]
}
Expand Down
Loading