YML files and how to use them - galizia-lab/pyview GitHub Wiki

Note about YML files and flags

The first thing required for running VIEW is a YML flags file. YML files are meant to contain useful combinatinos of VIEW settings. They are formatted in YAML and contains one flag per line as follows:

VIEW_batchmode: False
LE_loadExp: 3
# e.g. 3 for single wavelength TILL, 4 for FURA TILL, 20 for confocal ZEISS
LE_CalcMethod: 3900
......
......

Important:

  • A space is necessarily required after the colon on every line.
  • A YML file need not contain entries for all VIEW flags. It needs to have at least one entry. VIEW will initialize the rest to default values when the YML file is loaded.
  • You could add comments, starting with a #. However, in view, you can save all flag settings to the yml file, and that overwrites the .yml file with a version that does not contain the comments any more.