Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 9d91b89

Browse files
authored
Merge pull request #4 from flywheel-apps/naterichman-patch-1
BUG: Set non-image intent to array.
2 parents 8b51d70 + bbf89f4 commit 9d91b89

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dicom-mr-classifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def dicom_classify(zip_file_path, outbase, timezone, config=None):
593593

594594
# If no pixel data present, make classification intent "Non-Image"
595595
if not hasattr(dcm, "PixelData"):
596-
nonimage_intent = "Non-Image"
596+
nonimage_intent = ["Non-Image"]
597597
# If classification is a dict, update dict with intent
598598
if isinstance(dicom_file["classification"], dict):
599599
classification = dicom_file['classification']

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"source": "https://github.com/flywheel-apps/dicom-mr-classifier/releases",
99
"license": "Apache-2.0",
1010
"flywheel": "0",
11-
"version": "1.4.6",
11+
"version": "1.4.7",
1212
"custom": {
1313
"gear-builder": {
14-
"image": "flywheel/dicom-mr-classifier:1.4.6",
14+
"image": "flywheel/dicom-mr-classifier:1.4.7",
1515
"category": "converter"
1616
},
1717
"flywheel": {

0 commit comments

Comments
 (0)