Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/common-principles.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ Derivatives can be stored/distributed in two ways:
MAY be included in the `code/` subdirectory.
Extra documentation (and relevant images) MAY be included in the `docs/` subdirectory.
Logs from running the code or other commands MAY be stored under `logs/` subdirectory.
Temporary working files MAY be stored under the `scratch/` subdirectory.

Example of a derivative dataset including the raw dataset as source:

Expand Down
5 changes: 5 additions & 0 deletions src/schema/rules/directories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ study:
- docs
- derivatives
- logs
- scratch
- sourcedata
code:
name: code
Expand All @@ -40,6 +41,10 @@ study:
name: logs
level: optional
opaque: true
scratch:
name: scratch
level: optional
opaque: true
sourcedata:
name: sourcedata
level: optional
Expand Down
3 changes: 3 additions & 0 deletions src/schema/rules/files/common/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ docs:
logs:
level: optional
path: logs
scratch:
level: optional
path: scratch
sourcedata:
level: optional
path: sourcedata
Expand Down
Loading