Skip to content

Commit

Permalink
Minor fixes to align with new dataset, changed schema name in RUNME
Browse files Browse the repository at this point in the history
  • Loading branch information
erinaldidb committed Nov 18, 2024
1 parent 8fbe2d1 commit 22d8a3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
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

0 comments on commit 22d8a3b

Please sign in to comment.