Skip to content

Commit

Permalink
Merge pull request #49 from manics/example-version
Browse files Browse the repository at this point in the history
Include version in examples
  • Loading branch information
sbesson authored Dec 16, 2020
2 parents 51f67d4 + 5b3e33c commit 81e1f02
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/omero_cli_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,12 @@
omero render set Image:1 settings.json
omero render set Dataset:1 settings.yml
# where the input file (YAML or JSON) contains a top-level channels
# key (required), and an optional top-level greyscale key (True: greyscale,
# False: color). Channel elements are index:dictionaries of the form:
# where the input file (YAML or JSON) contains:
# - a top-level channels key (required)
# - a version (recommended, current version: 2)
# - an optional top-level greyscale key (True: greyscale,
# False: color).
# Channel elements are index:dictionaries of the form:
channels: Required
<int>: Channel index, 1-based
Expand All @@ -99,6 +102,7 @@
greyscale: <bool> Greyscale rendering, optional
z: <int> Default Z plane index, 1-based, optional
t: <int> Default T plane index, 1-based, optional
version: 2 Version of the renderdef specification
For example:
Expand All @@ -114,6 +118,7 @@
...
z: 5
t: 1
version: 2
# Omitted fields will keep their current values.
# Omitted channels will not be disabled unless --disable is used.
Expand Down

0 comments on commit 81e1f02

Please sign in to comment.