Commit 7914dd14 authored by Julia Garriga Ferrer's avatar Julia Garriga Ferrer
Browse files

Flake fix

parent d82bfbfb
Pipeline #15486 passed with stage
in 1 minute and 54 seconds
......@@ -32,7 +32,7 @@ from silx.gui import qt
from silx.gui.colors import Colormap
from silx.gui.plot.StackView import StackViewMainWindow
from darfix.core.imageOperations import background_substraction, hot_pixel_removal
from darfix.core.imageOperations import background_substraction
from .utils import ChooseDimensionWidget
from .operationThread import OperationThread
......
......@@ -123,4 +123,4 @@ class HotPixelRemovalWidget(qt.QWidget):
"""
nframe = self._sv.getFrameNumber()
self._sv.setStack(*arg, **kwargs)
self._sv.setFrameNumber(nframe)
\ No newline at end of file
self._sv.setFrameNumber(nframe)
......@@ -28,8 +28,6 @@ __authors__ = ["J. Garriga"]
__license__ = "MIT"
__date__ = "02/08/2019"
import glob
import os
import numpy
......@@ -50,7 +48,7 @@ def exec_():
data = numpy.repeat(data, 10, axis=0)
dataset = createDataset(data=data)
dataset = createDataset(data=data, dark_frames=dark_frames)
w.setDataset(dataset)
w.show()
......
......@@ -28,8 +28,6 @@ __authors__ = ["J. Garriga"]
__license__ = "MIT"
__date__ = "10/10/2019"
import glob
import os
import numpy
......@@ -45,8 +43,6 @@ def exec_():
# test data
data = numpy.arange(2500).reshape((1, 50, 50))
dark_frames = data.copy()
data = numpy.repeat(data, 10, axis=0)
replace_rate = 0.01
......@@ -63,4 +59,4 @@ def exec_():
if __name__ == "__main__":
exec_()
\ No newline at end of file
exec_()
......@@ -28,8 +28,6 @@ __authors__ = ["J. Garriga"]
__license__ = "MIT"
__date__ = "23/09/2019"
import glob
import os
from silx.gui import qt
from darfix.test.utils import createRandomDataset
......
......@@ -29,8 +29,6 @@ __license__ = "MIT"
__date__ = "02/08/2019"
import os
from silx.gui import qt
from darfix.test.utils import createRandomDataset
from darfix.gui.metadataWidget import MetadataWidget
......
import glob
import os
from darfix.test.utils import createRandomDataset
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment