Test Failed
Push — master ( e47727...48c83a )
by
unknown
01:18 queued 20s
created

savu.plugins.savers.mrc_saver_tools   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A MrcSaverTools.define_parameters() 0 2 1
1
from savu.plugins.plugin_tools import PluginTools
2
3
class MrcSaverTools(PluginTools):
4
    """Plugin to save data as .mrc"""
5
    
6
    def define_parameters(self):
7
        """
8
        pattern:
9
            visibility: basic
10
            dtype: str
11
            description: How to slice the data
12
            default: VOLUME_XZ
13
        
14
        mrc_mode:
15
            visibility: basic
16
            dtype: str
17
            description: Bit depth (sets mrc_mode)
18
            default: 'uint16'
19
            options: ['int8', 'int16', 'float32', 'complex64', 'uint16']
20
        """
21