ankemt / MEAanalysis

GNU General Public License v3.0
0 stars 0 forks source link

function that creates a design template #16

Closed bvreede closed 1 year ago

bvreede commented 2 years ago

We need a function that can create a template for the design file.

e.g. create_designfile(), then it opens a new file (which is unsaved) containing an example (like in inst/extdata/design_testfile.txt), and gives instructions (in hashed lines, which can be filtered out when parsing) on how to fill it out.

bvreede commented 1 year ago

right now our architecture is self-designed. Perhaps we can turn it into, eg, a yaml file though?

bvreede commented 1 year ago

Question/answer stcuture:

bvreede commented 1 year ago

Yaml file is probably not great, but the structure can be improved:

what about

Date: 20220905
ExperimentID: test
Total_wells: 48
# Specify the groups and the different wells below.
# Always use two spaces before the group name
# and separate the group and the well names with a space or comma.
Groups:
  Control: D1 D2 D3 D4 D5 D6 D7 D8
  0.01: F1 F2 F3 F4 F5 F6 F7 F8
  0.1: E1 E2 E3 E4 E5 E6 E7 E8
  1: C1 C2 C3 C4 C5 C6 C7 C8
  10: B1 B2 B3 B4 B5 B6 B7 B8
  30: A1 A2 A3 A4 A5 A6 A7 A8