Skip to content

Commit

Permalink
use groups for better structurring
Browse files Browse the repository at this point in the history
  • Loading branch information
tomio13 committed Oct 25, 2024
1 parent 8418c10 commit a6c44f3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
20 changes: 14 additions & 6 deletions templates/defaultForm
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ user: "%u"
created: "%D"
sample ID: "%3"

aim:
type: multiline
doc: "What is the aim of this experiment?"
# use groups for better structuring
sample information: group_id

observation:
type: multiline
doc: "free text observations beyond the measurement"

sample preparation log:
type: file
Expand All @@ -21,11 +17,23 @@ sample description:
doc: "a short description of the sample"
required: true

# this is general, it can be extended by the general part
# of any specific templates
general: group_id

experiment start:
type: date
doc: "Experiment starting date and time in ISO 8601 format"
required: true

aim:
type: multiline
doc: "What is the aim of this experiment?"

observation:
type: multiline
doc: "free text observations beyond the measurement"

attachments / links:
type: file
doc: "Any attachments, like figures or other experiments you find important to be coupled to this experiment. Data if there is no specific place for it in the form below."
Expand Down
10 changes: 6 additions & 4 deletions templates/dls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ doc: |
# specify a template version so one can compare if needed
template: dls.yaml
template version: 2024-10-24
template version: 2024-10-25

dynamic light scattering: group_id

DLS device:
type: select
Expand Down Expand Up @@ -67,7 +69,7 @@ first correlation delay:

# we can use group or group_id as value of a simple label
# to define grouping of the fields
software parameters: group
software information: group

software:
type: text
Expand All @@ -80,9 +82,9 @@ software version:
required: true


parameters: group
runs: group

parameters of runs:
individual runs:
type: "subset"
required: true
form:
Expand Down

0 comments on commit a6c44f3

Please sign in to comment.