diff --git a/src/common-principles.md b/src/common-principles.md index 0a42e4a885..f753564a1d 100644 --- a/src/common-principles.md +++ b/src/common-principles.md @@ -387,6 +387,7 @@ Derivatives can be stored/distributed in two ways: that were used to generate the derivatives. Likewise, any code used to generate the derivatives from the source data MAY be included in the `code/` subdirectory. + Logs from running the code or other commands MAY be stored under `logs/` subdirectory. Example of a derivative dataset including the raw dataset as source: diff --git a/src/schema/rules/directories.yaml b/src/schema/rules/directories.yaml index db3db194fe..5f2fc7d129 100644 --- a/src/schema/rules/directories.yaml +++ b/src/schema/rules/directories.yaml @@ -21,6 +21,7 @@ raw: subdirs: - code - derivatives + - logs - phenotype - sourcedata - stimuli @@ -33,6 +34,10 @@ raw: name: derivatives level: optional opaque: true + logs: + name: logs + level: optional + opaque: true phenotype: name: phenotype level: optional @@ -69,6 +74,7 @@ derivative: subdirs: - code - derivatives + - logs - phenotype - sourcedata - stimuli @@ -81,6 +87,10 @@ derivative: name: derivatives level: optional opaque: true + logs: + name: logs + level: optional + opaque: true phenotype: name: phenotype level: optional diff --git a/src/schema/rules/files/common/core.yaml b/src/schema/rules/files/common/core.yaml index 2fad28f430..db9160b05f 100644 --- a/src/schema/rules/files/common/core.yaml +++ b/src/schema/rules/files/common/core.yaml @@ -31,6 +31,9 @@ code: derivatives: level: optional path: derivatives +logs: + level: optional + path: logs sourcedata: level: optional path: sourcedata