Commit 5e5612a5 authored by aknecht2's avatar aknecht2
Browse files

Fixed threshold validation #2

parent 4f3ee81f
...@@ -1205,9 +1205,8 @@ valid = { ...@@ -1205,9 +1205,8 @@ valid = {
"value": "" "value": ""
}, },
"--thresh": { "--thresh": {
"type": "string", "type": "numeric",
"validation": "list", "required": "true"
"value": ["binary", "inverse", "truncate", "tozero", "otsu"]
}, },
"--max": { "--max": {
"type": "numeric", "type": "numeric",
...@@ -1217,7 +1216,7 @@ valid = { ...@@ -1217,7 +1216,7 @@ valid = {
"--type": { "--type": {
"type": "string", "type": "string",
"validation": "list", "validation": "list",
"value": ["binary", "trunc", "otsu", "tozero"] "value": ["binary", "inverse", "trunc", "otsu", "tozero"]
} }
} }
}, },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment