2.json 801 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
{
    "api_version": 2,
    "schema_version": 3,
    "splittable": false,
    "type": "sequential",
    "uses": {},
    "description": "this is an example of an algorithm with an invalid choice parameter (all choices must be the same type)",
    "groups": [
        {
            "name": "group",
            "inputs": {
                "input": {
                    "type": "user/single_integer/1"
                }
            },
            "outputs": {
                "output": {
                    "type": "user/single_integer/1"
                }
            }
        }
    ],
    "language": "python",
    "parameters": {
        "testparam": {
26
            "choice": [
27 28 29 30 31 32 33 34
                0,
                1,
                "a"
            ],
            "type": "float32"
        }
    }
}