Commit 5e5612a5 authored by aknecht2's avatar aknecht2

Fixed threshold validation #2

parent 4f3ee81f
......@@ -1205,9 +1205,8 @@ valid = {
"value": ""
},
"--thresh": {
"type": "string",
"validation": "list",
"value": ["binary", "inverse", "truncate", "tozero", "otsu"]
"type": "numeric",
"required": "true"
},
"--max": {
"type": "numeric",
......@@ -1217,7 +1216,7 @@ valid = {
"--type": {
"type": "string",
"validation": "list",
"value": ["binary", "trunc", "otsu", "tozero"]
"value": ["binary", "inverse", "trunc", "otsu", "tozero"]
}
}
},
......
Markdown is supported
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