Test Failed
Push — master ( 15d240...157f6a )
by Daniil
01:26 queued 18s
created

examples.plugin_examples.plugin_templates.general.plugin_template1_tools   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A PluginTemplate1Tools.define_parameters() 0 2 1
1
from savu.plugins.plugin_tools import PluginTools
2
3
class PluginTemplate1Tools(PluginTools):
4
    """
5
    A simple plugin template with one in_dataset and one out_dataset with
6
    similar characteristics, e.g. median filter.
7
    """
8
9
    def define_parameters(self):
10
        """
11
        example:
12
            visibility: basic
13
            dtype: [None, str]
14
            description: Example of a plugin parameter
15
            default: None
16
        """