Skip to content

Commit 63d02bb

Browse files
authored
Merge pull request #801 from jessicavers/master
Optional argument for expand was changed
2 parents 675a110 + 83200e5 commit 63d02bb

File tree

6 files changed

+21
-8
lines changed

6 files changed

+21
-8
lines changed

doc/source/tutorials/confluence/savu/savu_notes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
.. _savu_notes:
24

35
Savu - notes on basic use

doc/source/tutorials/confluence/savu/savu_tutorial.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
.. _savu_tutorial:
24

35
Savu - tutorial on basic use

plugin_examples/example_median_filter.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@
2929

3030

3131
class ExampleMedianFilter(BaseFilter, CpuPlugin):
32-
"""
33-
A plugin to filter each frame with a 3x3 median filter
34-
35-
:param kernel_size: Kernel size for the filter. Default: (1, 3, 3).
36-
"""
3732

3833
def __init__(self):
3934
logging.debug("Starting Median Filter")
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from savu.plugins.plugin_tools import PluginTools
2+
3+
class ExampleMedianFilterTools(PluginTools):
4+
"""
5+
A plugin to filter each frame with a 3x3 median filter
6+
"""
7+
8+
def define_parameters(self):
9+
"""
10+
kernel_size:
11+
visibility: basic
12+
dtype: list[int]
13+
description: Kernel size for the filter.
14+
default: [1, 3, 3]
15+
"""

plugin_examples/plugin_templates/general/plugin_template1_with_detailed_notes.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,4 @@ def process_frames(self, data):
110110
def post_process(self):
111111
# This method is called once after all processing has completed
112112
# (after an MPI barrier).
113-
pass
114-
113+
pass

scripts/config_generator/arg_parsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def _expand_arg_parser(args=None, doc=True):
258258
parser.add_argument('dim_view', nargs="?", default=False,
259259
help=argparse.SUPPRESS)
260260
expand_off_str = "Turn off the expand view"
261-
parser.add_argument("-o", "--off", action="store_true",
261+
parser.add_argument("--off", action="store_true",
262262
dest="off", help=expand_off_str, default=False)
263263
return __arg_parser(parser, args, "expand", doc)
264264

0 commit comments

Comments
 (0)