Commit 6f8176c0 authored by Wout De Nolf's avatar Wout De Nolf
Browse files

Remove unused imports

parent ee8fdb2a
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
Register metadata generators for a configurable writer Register metadata generators for a configurable writer
""" """
import enum
from bliss.scanning import scan_meta from bliss.scanning import scan_meta
from .subscribers import scan_writer_publish from .subscribers import scan_writer_publish
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
original and Bliss will not patch it. original and Bliss will not patch it.
""" """
import bliss import bliss # unused but needed
import subprocess import subprocess
from nexus_writer_service.patching.gevent import unpatch_module from nexus_writer_service.patching.gevent import unpatch_module
......
...@@ -16,7 +16,6 @@ import logging ...@@ -16,7 +16,6 @@ import logging
from gevent.time import time from gevent.time import time
from gevent import sleep from gevent import sleep
from collections import OrderedDict from collections import OrderedDict
from contextlib import contextmanager
from fabio.edfimage import EdfImage from fabio.edfimage import EdfImage
from silx.io import dictdump from silx.io import dictdump
from .base_proxy import BaseProxy from .base_proxy import BaseProxy
......
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
Basic Nexus writer listening to Redis events of a scan Basic Nexus writer listening to Redis events of a scan
""" """
import gevent
import os
import numpy import numpy
import traceback import traceback
import logging import logging
......
...@@ -15,7 +15,6 @@ else: ...@@ -15,7 +15,6 @@ else:
import os import os
from io import StringIO from io import StringIO
import logging
from contextlib import contextmanager, ExitStack from contextlib import contextmanager, ExitStack
from time import time from time import time
from .logging_utils import log from .logging_utils import log
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
import pytest import pytest
import os import os
import sys
import gevent import gevent
from gevent import subprocess from gevent import subprocess
from contextlib import contextmanager from contextlib import contextmanager
......
...@@ -10,7 +10,6 @@ import pytest ...@@ -10,7 +10,6 @@ import pytest
from bliss.common import scans from bliss.common import scans
from nexus_writer_service.utils.scan_utils import scan_filename from nexus_writer_service.utils.scan_utils import scan_filename
from nexus_writer_service.io.io_utils import mkdir from nexus_writer_service.io.io_utils import mkdir
from nexus_writer_service.io import nexus
from tests.nexus_writer.helpers import nxw_test_utils from tests.nexus_writer.helpers import nxw_test_utils
from ..utils.os_utils import enable_write_permissions, disable_write_permissions from ..utils.os_utils import enable_write_permissions, disable_write_permissions
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
import gevent import gevent
import pytest import pytest
from gevent.time import time
from bliss.common import scans from bliss.common import scans
from bliss.scanning.scan import ScanAbort from bliss.scanning.scan import ScanAbort
from bliss.data.node import get_session_node from bliss.data.node import get_session_node
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
# Copyright (c) 2015-2020 Beamline Control Unit, ESRF # Copyright (c) 2015-2020 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info. # Distributed under the GNU LGPLv3. See LICENSE for more info.
import os
from nexus_writer_service.subscribers.reference_proxy import ReferenceProxy from nexus_writer_service.subscribers.reference_proxy import ReferenceProxy
from nexus_writer_service.io import nexus from nexus_writer_service.io import nexus
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
# Copyright (c) 2015-2020 Beamline Control Unit, ESRF # Copyright (c) 2015-2020 Beamline Control Unit, ESRF
# Distributed under the GNU LGPLv3. See LICENSE for more info. # Distributed under the GNU LGPLv3. See LICENSE for more info.
import os
from nexus_writer_service.utils import config_utils from nexus_writer_service.utils import config_utils
from nexus_writer_service.utils import scan_utils from nexus_writer_service.utils import scan_utils
from nexus_writer_service.subscribers import scan_writer_publish from nexus_writer_service.subscribers import scan_writer_publish
......
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