From 26fd1bbf79e6d56aa00a1759ad397f8480f57671 Mon Sep 17 00:00:00 2001 From: Ido Tamir Date: Fri, 18 Oct 2024 13:34:27 +0200 Subject: [PATCH 1/2] allow integer sample names Validation of file failed: -> Entry 1: Error for field 'sample' (298098): Sample name must be provided and cannot contain spaces --- assets/schema_input.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/schema_input.json b/assets/schema_input.json index e6de3c264..7b2fa311f 100644 --- a/assets/schema_input.json +++ b/assets/schema_input.json @@ -8,7 +8,7 @@ "type": "object", "properties": { "sample": { - "type": "string", + "type": ["string", "integer"], "pattern": "^\\S+$", "errorMessage": "Sample name must be provided and cannot contain spaces", "meta": ["id"] From fc784828e69c7e5530e8ee9a995310d1464e7f37 Mon Sep 17 00:00:00 2001 From: Ido Tamir Date: Fri, 18 Oct 2024 13:54:01 +0200 Subject: [PATCH 2/2] allow integer sample names (empty for m->d)