From 3f181adae89219573b6583d50add464c604d2921 Mon Sep 17 00:00:00 2001 From: Garrett Michael Flynn Date: Wed, 29 May 2024 10:47:12 -0700 Subject: [PATCH] Move DANDI cleanup option to standalone page only --- src/schemas/json/dandi/standalone.json | 10 ++++++++++ src/schemas/json/dandi/upload.json | 6 ------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/schemas/json/dandi/standalone.json b/src/schemas/json/dandi/standalone.json index 2709647da..748e7f6cf 100644 --- a/src/schemas/json/dandi/standalone.json +++ b/src/schemas/json/dandi/standalone.json @@ -10,6 +10,16 @@ "format": ["file", "directory"] }, "minItems": 1 + }, + "additional_settings": { + "properties": { + "cleanup": { + "type": "boolean", + "title": "Cleanup Local Filesystem", + "description": "Delete local files after upload", + "default": false + } + } } }, "required": ["filesystem_paths"] diff --git a/src/schemas/json/dandi/upload.json b/src/schemas/json/dandi/upload.json index e13a56c4b..d2caf6bc0 100644 --- a/src/schemas/json/dandi/upload.json +++ b/src/schemas/json/dandi/upload.json @@ -24,12 +24,6 @@ "type": "boolean", "description": "Ignore the cache used by DANDI to speed up repeated operations.", "default": false - }, - "cleanup": { - "type": "boolean", - "title": "Cleanup Local Filesystem", - "description": "Delete local files after upload", - "default": false } } }