From a46630a45d5d0bc1ac0d0766c13318e70f489366 Mon Sep 17 00:00:00 2001 From: Alberto Soutullo Rendo Date: Tue, 29 Nov 2022 13:21:31 +0100 Subject: [PATCH] Changed schema and config_example.json to do N number of simulations --- shared/config_example.json | 4 +++- src/utilities/files/schemas/arguments_schema.json | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/shared/config_example.json b/shared/config_example.json index cef63a6..b8d479b 100644 --- a/shared/config_example.json +++ b/shared/config_example.json @@ -1,7 +1,9 @@ { "arguments": { "output-format": "csv", - "output-file": "test" + "output-file": "test", + "output-folder": "folder", + "number-of-simulations": 3 }, "simulation": { "consensus_settings": { diff --git a/src/utilities/files/schemas/arguments_schema.json b/src/utilities/files/schemas/arguments_schema.json index 027f475..4eda327 100755 --- a/src/utilities/files/schemas/arguments_schema.json +++ b/src/utilities/files/schemas/arguments_schema.json @@ -12,6 +12,11 @@ }, "output-file": { "type": "string" + }, + "number-of-simulations" : { + "type": "number" } - } + }, + "required": ["output-format", "output-file", "number-of-simulations"], + "aditionalProperties": false } \ No newline at end of file