Skip to content

Commit

Permalink
Merge pull request #3 from flywheel-apps/GEAR-1528-sex-other
Browse files Browse the repository at this point in the history
MAIN: Add "O" == "other" sex and "unknown" when not matched.
  • Loading branch information
naterichman authored Sep 8, 2021
2 parents 437086a + ea99763 commit 8b51d70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dicom-mr-classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ def get_sex_string(sex_str):
sex = "male"
elif sex_str == "F":
sex = "female"
elif sex_str == "O":
sex = "other"
else:
sex = ""
return sex
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.5",
"version": "1.4.6",
"custom": {
"gear-builder": {
"image": "flywheel/dicom-mr-classifier:1.4.5",
"image": "flywheel/dicom-mr-classifier:1.4.6",
"category": "converter"
},
"flywheel": {
Expand Down

0 comments on commit 8b51d70

Please sign in to comment.