|
21 | 21 | from .. import pathtools |
22 | 22 | from ..log import LOG as log |
23 | 23 |
|
| 24 | + |
| 25 | +# internal template strings used in string formatting (note: the `"""@private"""` |
| 26 | +# pseudo-decorator is there to instruct [pdoc] to omit those variables when generating |
| 27 | +# API documentation): |
24 | 28 | SINGLE = "[Single %s (Select from List)]" |
25 | | -"""Template string to use to select only one value for the current dimension.""" |
| 29 | +"""@private""" |
26 | 30 | MULTIPLE = "[Multiple %ss (Select from List)]" |
27 | | -"""Template string to use to select specified multiple values for the current |
28 | | -dimension.""" |
| 31 | +"""@private""" |
29 | 32 | RANGE = "[Range of %ss (Specify by Name)]" |
30 | | -"""Template string to use to select a range of values for the current |
31 | | -dimension.""" |
32 | | - |
| 33 | +"""@private""" |
| 34 | +SINGLE_FILE = "[NO (one %s)]" |
| 35 | +"""@private""" |
| 36 | +MULTI_SINGLE_FILE = "[YES (all %ss in one file)]" |
| 37 | +"""@private""" |
| 38 | +MULTI_MULTI_FILE = "[YES (one file per %s)]" |
| 39 | +"""@private""" |
33 | 40 |
|
34 | 41 | class ProcessingOptions(object): |
35 | 42 | """Helper to store processing options and generate parameter strings. |
@@ -513,17 +520,6 @@ def fmt_use_acitt(self): |
513 | 520 | return parameter_string + " " |
514 | 521 |
|
515 | 522 |
|
516 | | -SINGLE_FILE = "[NO (one %s)]" |
517 | | -"""Template string to use if the current dimension is singular (like only one |
518 | | -angle).""" |
519 | | -MULTI_SINGLE_FILE = "[YES (all %ss in one file)]" |
520 | | -"""Template string to use if the current dimension is plural (like multiple |
521 | | -angles) contained in a single file.""" |
522 | | -MULTI_MULTI_FILE = "[YES (one file per %s)]" |
523 | | -"""Template string to use if the current dimension is plural (like multiple |
524 | | -angles) contained in multiple files.""" |
525 | | - |
526 | | - |
527 | 523 | class DefinitionOptions(object): |
528 | 524 | """Helper to store definition options and generate parameters strings. |
529 | 525 |
|
|
0 commit comments