Skip to content

Commit

Permalink
Merge pull request #4 from flywheel-apps/naterichman-patch-1
Browse files Browse the repository at this point in the history
BUG: Set non-image intent to array.
  • Loading branch information
naterichman authored Sep 22, 2021
2 parents 8b51d70 + bbf89f4 commit 9d91b89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dicom-mr-classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def dicom_classify(zip_file_path, outbase, timezone, config=None):

# If no pixel data present, make classification intent "Non-Image"
if not hasattr(dcm, "PixelData"):
nonimage_intent = "Non-Image"
nonimage_intent = ["Non-Image"]
# If classification is a dict, update dict with intent
if isinstance(dicom_file["classification"], dict):
classification = dicom_file['classification']
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"source": "https://github.com/flywheel-apps/dicom-mr-classifier/releases",
"license": "Apache-2.0",
"flywheel": "0",
"version": "1.4.6",
"version": "1.4.7",
"custom": {
"gear-builder": {
"image": "flywheel/dicom-mr-classifier:1.4.6",
"image": "flywheel/dicom-mr-classifier:1.4.7",
"category": "converter"
},
"flywheel": {
Expand Down

0 comments on commit 9d91b89

Please sign in to comment.