Skip to content
Merged
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
30 changes: 13 additions & 17 deletions src/imcflibs/imagej/bdv.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,22 @@
from .. import pathtools
from ..log import LOG as log


# internal template strings used in string formatting (note: the `"""@private"""`
# pseudo-decorator is there to instruct [pdoc] to omit those variables when generating
# API documentation):
SINGLE = "[Single %s (Select from List)]"
"""Template string to use to select only one value for the current dimension."""
"""@private"""
MULTIPLE = "[Multiple %ss (Select from List)]"
"""Template string to use to select specified multiple values for the current
dimension."""
"""@private"""
RANGE = "[Range of %ss (Specify by Name)]"
"""Template string to use to select a range of values for the current
dimension."""

"""@private"""
SINGLE_FILE = "[NO (one %s)]"
"""@private"""
MULTI_SINGLE_FILE = "[YES (all %ss in one file)]"
"""@private"""
MULTI_MULTI_FILE = "[YES (one file per %s)]"
"""@private"""

class ProcessingOptions(object):
"""Helper to store processing options and generate parameter strings.
Expand Down Expand Up @@ -513,17 +520,6 @@ def fmt_use_acitt(self):
return parameter_string + " "


SINGLE_FILE = "[NO (one %s)]"
"""Template string to use if the current dimension is singular (like only one
angle)."""
MULTI_SINGLE_FILE = "[YES (all %ss in one file)]"
"""Template string to use if the current dimension is plural (like multiple
angles) contained in a single file."""
MULTI_MULTI_FILE = "[YES (one file per %s)]"
"""Template string to use if the current dimension is plural (like multiple
angles) contained in multiple files."""


class DefinitionOptions(object):
"""Helper to store definition options and generate parameters strings.

Expand Down
Loading