Test Failed
Pull Request — master (#797)
by
unknown
03:47
created

plugin_examples.plugin_templates.general.plugin_template5_tools   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A PluginTemplate5Tools.define_parameters() 0 2 1
1
from savu.plugins.plugin_tools import PluginTools
2
3
class PluginTemplate5Tools(PluginTools):
4
    """
5
    A plugin template with one in_dataset and two out_datasets that do not
6
    resemble the in_dataset and are not retained by the framework,
7
    e.g. vo_centering.
8
    """
9
10
    def define_parameters(self):
11
        """
12
        example:
13
            visibility: basic
14
            dtype: [None, str]
15
            description: Example of a plugin parameter
16
            default: None
17
        preview:
18
            visibility: basic
19
            dtype: preview
20
            description: Reduce the size of the data temporarily for this plugin
21
            default: []
22
        """