mxcubecore 1.353.0__py3-none-any.whl → 1.354.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. mxcubecore/Command/Sardana.py +0 -1
  2. mxcubecore/HardwareObjects/ALBA/ALBAAutoProcessing.py +0 -1
  3. mxcubecore/HardwareObjects/ALBA/ALBABackLight.py +0 -1
  4. mxcubecore/HardwareObjects/ALBA/ALBADataAnalysis.py +0 -1
  5. mxcubecore/HardwareObjects/ALBA/ALBAEpsActuator.py +0 -1
  6. mxcubecore/HardwareObjects/ALBA/ALBAFastShutter.py +0 -2
  7. mxcubecore/HardwareObjects/ALBA/ALBAFlux.py +0 -1
  8. mxcubecore/HardwareObjects/ALBA/ALBAFrontEnd.py +0 -5
  9. mxcubecore/HardwareObjects/ALBA/ALBAMachineInfo.py +0 -9
  10. mxcubecore/HardwareObjects/ALBA/ALBASupervisor.py +0 -3
  11. mxcubecore/HardwareObjects/ALBA/ALBATransmission.py +0 -1
  12. mxcubecore/HardwareObjects/ALBA/XalocMachineInfo.py +0 -9
  13. mxcubecore/HardwareObjects/ALBA/XalocMiniDiff.py +0 -1
  14. mxcubecore/HardwareObjects/Attenuators.py +0 -2
  15. mxcubecore/HardwareObjects/DESY/Centring.py +0 -8
  16. mxcubecore/HardwareObjects/DESY/MjpgStreamVideo.py +0 -2
  17. mxcubecore/HardwareObjects/DESY/P11BackLight.py +0 -3
  18. mxcubecore/HardwareObjects/DESY/P11Beam.py +0 -3
  19. mxcubecore/HardwareObjects/DESY/P11DetectorCover.py +0 -1
  20. mxcubecore/HardwareObjects/DESY/P11EDNACharacterisation.py +0 -7
  21. mxcubecore/HardwareObjects/DESY/P11Energy.py +0 -1
  22. mxcubecore/HardwareObjects/DESY/P11FastShutter.py +0 -3
  23. mxcubecore/HardwareObjects/DESY/P11MachineInfo.py +0 -1
  24. mxcubecore/HardwareObjects/DESY/P11Session.py +0 -1
  25. mxcubecore/HardwareObjects/DESY/P11Shutter.py +0 -2
  26. mxcubecore/HardwareObjects/DESY/P11Transmission.py +0 -2
  27. mxcubecore/HardwareObjects/DESY/P11Zoom.py +0 -1
  28. mxcubecore/HardwareObjects/EMBL/EMBLBeamlineTest.py +0 -10
  29. mxcubecore/HardwareObjects/EMBL/EMBLBeamstop.py +0 -1
  30. mxcubecore/HardwareObjects/EMBL/EMBLFlux.py +0 -2
  31. mxcubecore/HardwareObjects/EMBL/EMBLMiniDiff.py +0 -1
  32. mxcubecore/HardwareObjects/EMBL/EMBLPiezoMotor.py +0 -2
  33. mxcubecore/HardwareObjects/EMBL/EMBLSafetyShutter.py +0 -1
  34. mxcubecore/HardwareObjects/EMBL/EMBLXRFSpectrum.py +0 -2
  35. mxcubecore/HardwareObjects/EMBL/EMBLXrayImaging.py +0 -1
  36. mxcubecore/HardwareObjects/EMBL/TINEMotor.py +0 -2
  37. mxcubecore/HardwareObjects/ESRF/ESRFBeamlineActions.py +0 -3
  38. mxcubecore/HardwareObjects/ESRF/ESRFEnergyScan.py +0 -4
  39. mxcubecore/HardwareObjects/ESRF/MD2MultiCollect.py +0 -3
  40. mxcubecore/HardwareObjects/ESRF/queue_entry/mx_base_queue_entry.py +0 -1
  41. mxcubecore/HardwareObjects/ESRF/queue_entry/ssx_big_foil_collection.py +0 -1
  42. mxcubecore/HardwareObjects/ESRF/queue_entry/ssx_chip_collection.py +0 -8
  43. mxcubecore/HardwareObjects/ESRF/queue_entry/ssx_injector_collection.py +0 -4
  44. mxcubecore/HardwareObjects/ESRF/queue_entry/ssx_laser_hare_collection.py +0 -2
  45. mxcubecore/HardwareObjects/ESRF/queue_entry/ssx_laser_injector_collection.py +0 -2
  46. mxcubecore/HardwareObjects/ESRF/queue_entry/ssx_line_scan_collection.py +0 -1
  47. mxcubecore/HardwareObjects/ESRF/queue_entry/test_collection.py +0 -6
  48. mxcubecore/HardwareObjects/GrobMotor.py +0 -1
  49. mxcubecore/HardwareObjects/LNLS/EPICSActuator.py +0 -1
  50. mxcubecore/HardwareObjects/LNLS/LNLSBeam.py +0 -1
  51. mxcubecore/HardwareObjects/LNLS/LNLSCollect.py +0 -2
  52. mxcubecore/HardwareObjects/LNLS/LNLSZoom.py +0 -2
  53. mxcubecore/HardwareObjects/Lima2Detector.py +0 -2
  54. mxcubecore/HardwareObjects/MAXIV/MaxIVSession.py +0 -1
  55. mxcubecore/HardwareObjects/Marvin.py +0 -1
  56. mxcubecore/HardwareObjects/MicrodiffInOut.py +0 -1
  57. mxcubecore/HardwareObjects/MicrodiffLight.py +0 -1
  58. mxcubecore/HardwareObjects/MotorWPositions.py +0 -1
  59. mxcubecore/HardwareObjects/PyISPyBClient.py +0 -11
  60. mxcubecore/HardwareObjects/QtAxisCamera.py +0 -3
  61. mxcubecore/HardwareObjects/QtGraphicsManager.py +0 -14
  62. mxcubecore/HardwareObjects/SOLEIL/PX1/PX1Configuration.py +0 -2
  63. mxcubecore/HardwareObjects/SOLEIL/PX1/PX1DetectorDistance.py +0 -1
  64. mxcubecore/HardwareObjects/SOLEIL/PX1/PX1Energy.py +0 -2
  65. mxcubecore/HardwareObjects/SOLEIL/PX1/PX1EnergyScan.py +0 -1
  66. mxcubecore/HardwareObjects/SOLEIL/PX1/PX1Resolution.py +0 -3
  67. mxcubecore/HardwareObjects/SOLEIL/PX1/PX1TangoLight.py +0 -3
  68. mxcubecore/HardwareObjects/SOLEIL/PX2/PX2Collect.py +0 -7
  69. mxcubecore/HardwareObjects/SOLEIL/PX2/PX2Qt4_LimaVideo.py +0 -15
  70. mxcubecore/HardwareObjects/SOLEIL/PX2/PX2Resolution.py +0 -3
  71. mxcubecore/HardwareObjects/SOLEIL/PX2/PX2Video.py +0 -4
  72. mxcubecore/HardwareObjects/SOLEIL/SOLEILEnergyScan.py +0 -1
  73. mxcubecore/HardwareObjects/SOLEIL/SOLEILMachineInfo.py +0 -7
  74. mxcubecore/HardwareObjects/SOLEIL/SOLEILPss.py +0 -1
  75. mxcubecore/HardwareObjects/SOLEIL/TangoDCMotor.py +0 -2
  76. mxcubecore/HardwareObjects/abstract/AbstractProcedure.py +0 -5
  77. mxcubecore/HardwareObjects/abstract/ISPyBAbstractLims.py +0 -1
  78. mxcubecore/HardwareObjects/mockup/EnergyScanMockup.py +0 -1
  79. mxcubecore/HardwareObjects/mockup/ExporterNStateMockup.py +0 -1
  80. mxcubecore/HardwareObjects/mockup/PlateManipulatorMockup.py +0 -2
  81. mxcubecore/__init__.py +0 -1
  82. mxcubecore/dispatcher.py +4 -1
  83. mxcubecore/queue_entry/generic_workflow.py +0 -2
  84. mxcubecore/queue_entry/optical_centring.py +0 -2
  85. mxcubecore/utils/qt_import.py +2 -0
  86. {mxcubecore-1.353.0.dist-info → mxcubecore-1.354.0.dist-info}/METADATA +1 -1
  87. {mxcubecore-1.353.0.dist-info → mxcubecore-1.354.0.dist-info}/RECORD +90 -90
  88. {mxcubecore-1.353.0.dist-info → mxcubecore-1.354.0.dist-info}/COPYING +0 -0
  89. {mxcubecore-1.353.0.dist-info → mxcubecore-1.354.0.dist-info}/COPYING.LESSER +0 -0
  90. {mxcubecore-1.353.0.dist-info → mxcubecore-1.354.0.dist-info}/WHEEL +0 -0
@@ -58,7 +58,6 @@ except Exception:
58
58
 
59
59
  try:
60
60
  import taurus
61
- from sardana.taurus.core.tango.sardana import registerExtensions
62
61
  from taurus import (
63
62
  Attribute,
64
63
  Device,
@@ -6,7 +6,6 @@ from datetime import datetime
6
6
 
7
7
  from ALBAClusterJob import ALBAEdnaProcJob
8
8
  from PyTango import DeviceProxy
9
- from xaloc import XalocJob
10
9
  from XSDataAutoprocv1_0 import XSDataAutoprocInput
11
10
  from XSDataCommon import (
12
11
  XSDataFile,
@@ -3,7 +3,6 @@ import time
3
3
 
4
4
  import gevent
5
5
 
6
- from mxcubecore import HardwareRepository as HWR
7
6
  from mxcubecore.BaseHardwareObjects import HardwareObject
8
7
 
9
8
 
@@ -3,7 +3,6 @@ import os
3
3
  import sys
4
4
  import time
5
5
 
6
- from PyTango import DeviceProxy
7
6
  from xaloc import XalocJob
8
7
  from XSDataCommon import (
9
8
  XSDataFile,
@@ -45,7 +45,6 @@ Public Interface:
45
45
  import logging
46
46
 
47
47
  from mxcubecore import BaseHardwareObjects
48
- from mxcubecore import HardwareRepository as HWR
49
48
 
50
49
  STATE_OUT, STATE_IN, STATE_MOVING, STATE_FAULT, STATE_ALARM, STATE_UNKNOWN = (
51
50
  0,
@@ -43,10 +43,8 @@ Public Interface:
43
43
  """
44
44
 
45
45
  import logging
46
- import time
47
46
 
48
47
  from mxcubecore import BaseHardwareObjects
49
- from mxcubecore import HardwareRepository as HWR
50
48
 
51
49
  STATE_OUT, STATE_IN, STATE_MOVING, STATE_FAULT, STATE_ALARM, STATE_UNKNOWN = (
52
50
  0,
@@ -2,7 +2,6 @@ import logging
2
2
 
3
3
  import taurus
4
4
 
5
- from mxcubecore.BaseHardwareObjects import HardwareObject
6
5
  from mxcubecore.HardwareObjects.abstract import AbstractFlux
7
6
 
8
7
 
@@ -18,13 +18,8 @@ Example XML::
18
18
 
19
19
  """
20
20
 
21
- import logging
22
-
23
21
  from ALBAEpsActuator import ALBAEpsActuator
24
22
 
25
- from mxcubecore import BaseHardwareObjects
26
- from mxcubecore import HardwareRepository as HWR
27
-
28
23
 
29
24
  class ALBAFrontEnd(ALBAEpsActuator):
30
25
  def init(self):
@@ -55,16 +55,7 @@ Example Hardware Object XML file :
55
55
  """
56
56
 
57
57
  import logging
58
- import time
59
- from datetime import (
60
- datetime,
61
- timedelta,
62
- )
63
58
 
64
- from gevent import spawn
65
- from urllib2 import urlopen
66
-
67
- from mxcubecore import HardwareRepository as HWR
68
59
  from mxcubecore.BaseHardwareObjects import HardwareObject
69
60
 
70
61
  __author__ = "Jordi Andreu"
@@ -1,6 +1,3 @@
1
- import logging
2
-
3
- from mxcubecore import HardwareRepository as HWR
4
1
  from mxcubecore.BaseHardwareObjects import HardwareObject
5
2
 
6
3
 
@@ -1,4 +1,3 @@
1
- from mxcubecore import HardwareRepository as HWR
2
1
  from mxcubecore.BaseHardwareObjects import HardwareObject
3
2
 
4
3
 
@@ -55,16 +55,7 @@ Example Hardware Object XML file :
55
55
  """
56
56
 
57
57
  import logging
58
- import time
59
- from datetime import (
60
- datetime,
61
- timedelta,
62
- )
63
58
 
64
- from gevent import spawn
65
- from urllib2 import urlopen
66
-
67
- from mxcubecore import HardwareRepository as HWR
68
59
  from mxcubecore.BaseHardwareObjects import HardwareObject
69
60
 
70
61
  __author__ = "Jordi Andreu"
@@ -2,7 +2,6 @@ import logging
2
2
  import time
3
3
 
4
4
  import gevent
5
- from gevent.event import AsyncResult
6
5
 
7
6
  from mxcubecore.HardwareObjects.GenericDiffractometer import GenericDiffractometer
8
7
 
@@ -18,8 +18,6 @@
18
18
  # along with MXCuBE. If not, see <http://www.gnu.org/licenses/>.
19
19
 
20
20
 
21
- import gevent
22
-
23
21
  from mxcubecore.HardwareObjects.abstract.AbstractTransmission import (
24
22
  AbstractTransmission,
25
23
  )
@@ -22,15 +22,7 @@ __copyright__ = """Copyright The MXCuBE Collaboration"""
22
22
  __license__ = "LGPLv3+"
23
23
 
24
24
 
25
- import gevent
26
- import numpy
27
- from gevent import Timeout
28
-
29
25
  # import DeviceProxy function and DevState:
30
- from PyTango import (
31
- DeviceProxy,
32
- DevState,
33
- )
34
26
 
35
27
  from mxcubecore.BaseHardwareObjects import HardwareObject
36
28
 
@@ -42,13 +42,11 @@ except ImportError:
42
42
  traceback.print_exc()
43
43
  redis_flag = False
44
44
 
45
- from mxcubecore.BaseHardwareObjects import HardwareObject
46
45
  from mxcubecore.HardwareObjects.abstract.AbstractVideoDevice import AbstractVideoDevice
47
46
  from mxcubecore.utils.conversion import string_types
48
47
  from mxcubecore.utils.qt_import import (
49
48
  QImage,
50
49
  QPixmap,
51
- QPoint,
52
50
  )
53
51
 
54
52
 
@@ -26,7 +26,6 @@ from enum import (
26
26
  unique,
27
27
  )
28
28
 
29
- from mxcubecore.BaseHardwareObjects import HardwareObjectState
30
29
  from mxcubecore.HardwareObjects.abstract.AbstractShutter import AbstractNState
31
30
 
32
31
  __credits__ = ["DESY P11"]
@@ -39,8 +38,6 @@ from enum import (
39
38
  unique,
40
39
  )
41
40
 
42
- from mxcubecore.HardwareObjects.abstract.AbstractShutter import AbstractShutter
43
-
44
41
 
45
42
  @unique
46
43
  class BackLightValues(Enum):
@@ -23,12 +23,9 @@ __license__ = "LGPLv3+"
23
23
  __credits__ = ["DESY P11"]
24
24
  __category__ = "General"
25
25
 
26
- import numpy as np
27
26
 
28
- from mxcubecore.BaseHardwareObjects import HardwareObjectState
29
27
  from mxcubecore.HardwareObjects.abstract.AbstractBeam import (
30
28
  AbstractBeam,
31
- BeamShape,
32
29
  )
33
30
 
34
31
 
@@ -26,7 +26,6 @@ from enum import Enum
26
26
 
27
27
  import gevent
28
28
 
29
- from mxcubecore.BaseHardwareObjects import HardwareObjectState
30
29
  from mxcubecore.HardwareObjects.abstract.AbstractShutter import AbstractShutter
31
30
 
32
31
  __credits__ = ["DESY P11"]
@@ -30,7 +30,6 @@ from XSDataCommon import (
30
30
  XSDataAngle,
31
31
  XSDataBoolean,
32
32
  XSDataDouble,
33
- XSDataFile,
34
33
  XSDataFlux,
35
34
  XSDataImage,
36
35
  XSDataInteger,
@@ -47,13 +46,7 @@ from XSDataMXCuBEv1_4 import (
47
46
  )
48
47
 
49
48
  from mxcubecore import HardwareRepository as HWR
50
- from mxcubecore.HardwareObjects.abstract.AbstractCharacterisation import (
51
- AbstractCharacterisation,
52
- )
53
49
  from mxcubecore.HardwareObjects.EDNACharacterisation import EDNACharacterisation
54
- from mxcubecore.HardwareObjects.SecureXMLRpcRequestHandler import (
55
- SecureXMLRpcRequestHandler,
56
- )
57
50
  from mxcubecore.model import queue_model_enumerables as qme
58
51
  from mxcubecore.model import queue_model_objects as qmo
59
52
 
@@ -23,7 +23,6 @@ __license__ = "LGPLv3+"
23
23
 
24
24
  import logging
25
25
 
26
- from mxcubecore import HardwareRepository as HWR
27
26
  from mxcubecore.HardwareObjects.abstract.AbstractEnergy import AbstractEnergy
28
27
 
29
28
  log = logging.getLogger("HWR")
@@ -23,7 +23,6 @@ __license__ = "LGPLv3+"
23
23
 
24
24
  from enum import Enum
25
25
 
26
- from mxcubecore.BaseHardwareObjects import HardwareObjectState
27
26
  from mxcubecore.HardwareObjects.abstract.AbstractShutter import AbstractNState
28
27
 
29
28
  __credits__ = ["DESY P11"]
@@ -32,8 +31,6 @@ __category__ = "General"
32
31
 
33
32
  from enum import Enum
34
33
 
35
- from mxcubecore.HardwareObjects.abstract.AbstractShutter import AbstractShutter
36
-
37
34
 
38
35
  class P11FastShutter(AbstractNState):
39
36
  """
@@ -29,7 +29,6 @@ from PyQt5.QtCore import (
29
29
  pyqtSignal,
30
30
  )
31
31
 
32
- from mxcubecore.HardwareObjects.abstract.AbstractMachineInfo import AbstractMachineInfo
33
32
  from mxcubecore.HardwareObjects.TangoMachineInfo import TangoMachineInfo
34
33
 
35
34
 
@@ -27,7 +27,6 @@ import os
27
27
  import time
28
28
  from configparser import ConfigParser
29
29
  from datetime import date
30
- from select import EPOLL_CLOEXEC
31
30
 
32
31
  import yaml
33
32
 
@@ -30,8 +30,6 @@ from enum import (
30
30
 
31
31
  import gevent
32
32
 
33
- import mxcubecore.HardwareObjects.abstract.AbstractShutter as absshut
34
- from mxcubecore.BaseHardwareObjects import HardwareObjectState
35
33
  from mxcubecore.HardwareObjects.abstract.AbstractShutter import AbstractShutter
36
34
 
37
35
  __credits__ = ["DESY P11"]
@@ -24,8 +24,6 @@ __license__ = "LGPLv3+"
24
24
  import logging
25
25
  import time
26
26
 
27
- import gevent
28
-
29
27
  from mxcubecore.HardwareObjects.abstract.AbstractTransmission import (
30
28
  AbstractTransmission,
31
29
  )
@@ -26,7 +26,6 @@ from enum import Enum
26
26
 
27
27
  from mxcubecore.HardwareObjects.abstract.AbstractNState import (
28
28
  AbstractNState,
29
- BaseValueEnum,
30
29
  )
31
30
 
32
31
  redis_flag = False
@@ -19,19 +19,9 @@
19
19
 
20
20
  import logging
21
21
  import os
22
- import tempfile
23
- from csv import reader
24
22
  from datetime import datetime
25
- from random import random
26
- from time import sleep
27
23
 
28
24
  import gevent
29
- import numpy
30
- import numpy as np
31
- import tine
32
- from matplotlib.backends.backend_agg import FigureCanvasAgg
33
- from matplotlib.figure import Figure
34
- from scipy.interpolate import interp1d
35
25
 
36
26
  from mxcubecore.BaseHardwareObjects import HardwareObject
37
27
  from mxcubecore.HardwareObjects import SimpleHTML
@@ -17,7 +17,6 @@
17
17
  # You should have received a copy of the GNU Lesser General Public License
18
18
  # along with MXCuBE. If not, see <http://www.gnu.org/licenses/>.
19
19
 
20
- from mxcubecore.BaseHardwareObjects import HardwareObject
21
20
  from mxcubecore.HardwareObjects.abstract.AbstractMotor import AbstractMotor
22
21
 
23
22
  __credits__ = ["EMBL Hamburg"]
@@ -19,11 +19,9 @@
19
19
 
20
20
  import logging
21
21
  from copy import deepcopy
22
- from datetime import datetime
23
22
 
24
23
  import gevent
25
24
  import numpy
26
- import tine
27
25
  from scipy.interpolate import interp1d
28
26
 
29
27
  from mxcubecore import HardwareRepository as HWR
@@ -35,7 +35,6 @@ except ImportError:
35
35
 
36
36
  from mxcubecore import HardwareRepository as HWR
37
37
  from mxcubecore.HardwareObjects.GenericDiffractometer import GenericDiffractometer
38
- from mxcubecore.TaskUtils import task
39
38
 
40
39
  __credits__ = ["EMBL Hamburg"]
41
40
  __category__ = "General"
@@ -21,8 +21,6 @@
21
21
  EMBLPiezoMotor
22
22
  """
23
23
 
24
- import logging
25
-
26
24
  from mxcubecore.HardwareObjects.EMBL.TINEMotor import TINEMotor
27
25
 
28
26
  __credits__ = ["EMBL Hamburg"]
@@ -25,7 +25,6 @@ from enum import (
25
25
  unique,
26
26
  )
27
27
 
28
- from mxcubecore.BaseHardwareObjects import HardwareObjectState
29
28
  from mxcubecore.HardwareObjects.abstract.AbstractShutter import AbstractShutter
30
29
 
31
30
  __credits__ = ["EMBL Hamburg"]
@@ -21,8 +21,6 @@ import logging
21
21
 
22
22
  import gevent
23
23
 
24
- from mxcubecore import HardwareRepository as HWR
25
- from mxcubecore.BaseHardwareObjects import HardwareObject
26
24
  from mxcubecore.HardwareObjects.abstract.AbstractXRFSpectrum import AbstractXRFSpectrum
27
25
 
28
26
  __credits__ = ["EMBL Hamburg"]
@@ -18,7 +18,6 @@
18
18
  # You should have received a copy of the GNU Lesser General Public License
19
19
  # along with MXCuBE. If not, see <http://www.gnu.org/licenses/>.
20
20
 
21
- import collections
22
21
  import json
23
22
  import logging
24
23
  import os
@@ -19,8 +19,6 @@
19
19
 
20
20
  """TINEMotor class defines motor in the TINE control system"""
21
21
 
22
- import logging
23
-
24
22
  import gevent
25
23
 
26
24
  from mxcubecore.BaseHardwareObjects import HardwareObjectState
@@ -37,14 +37,11 @@ Example xml file:
37
37
 
38
38
  import ast
39
39
 
40
- import gevent
41
-
42
40
  from mxcubecore.HardwareObjects.BeamlineActions import (
43
41
  BeamlineActions,
44
42
  ControllerCommand,
45
43
  HWObjActuatorCommand,
46
44
  )
47
- from mxcubecore.TaskUtils import task
48
45
 
49
46
  __copyright__ = """ Copyright © 2010-2023 by the MXCuBE collaboration """
50
47
  __license__ = "LGPLv3+"
@@ -11,13 +11,9 @@ import time
11
11
 
12
12
  import gevent
13
13
  import numpy
14
- from matplotlib.backends.backend_agg import FigureCanvasAgg
15
- from matplotlib.figure import Figure
16
14
 
17
15
  from mxcubecore import HardwareRepository as HWR
18
- from mxcubecore.BaseHardwareObjects import HardwareObject
19
16
  from mxcubecore.HardwareObjects.abstract.AbstractEnergyScan import AbstractEnergyScan
20
- from mxcubecore.TaskUtils import task
21
17
 
22
18
 
23
19
  class GetStaticParameters:
@@ -2,10 +2,7 @@ import logging
2
2
  import os
3
3
  import shutil
4
4
 
5
- import gevent
6
-
7
5
  from mxcubecore import HardwareRepository as HWR
8
- from mxcubecore.HardwareObjects.LimaPilatusDetector import LimaPilatusDetector
9
6
  from mxcubecore.TaskUtils import task
10
7
 
11
8
  from .ESRFMultiCollect import ESRFMultiCollect
@@ -11,7 +11,6 @@ from pydantic.v1 import (
11
11
  Field,
12
12
  )
13
13
  from typing_extensions import (
14
- Literal,
15
14
  Union,
16
15
  )
17
16
 
@@ -2,7 +2,6 @@ import logging
2
2
 
3
3
  from devtools import debug
4
4
  from pydantic.v1 import (
5
- BaseModel,
6
5
  Field,
7
6
  )
8
7
 
@@ -1,14 +1,6 @@
1
- import enum
2
1
  import logging
3
- import os
4
- import subprocess
5
2
 
6
3
  import gevent
7
- from devtools import debug
8
- from pydantic.v1 import (
9
- BaseModel,
10
- Field,
11
- )
12
4
 
13
5
  from mxcubecore import HardwareRepository as HWR
14
6
  from mxcubecore.HardwareObjects.ESRF.queue_entry.ssx_base_queue_entry import (
@@ -1,11 +1,7 @@
1
- import enum
2
1
  import logging
3
- import time
4
2
 
5
3
  import gevent
6
- from devtools import debug
7
4
  from pydantic.v1 import (
8
- BaseModel,
9
5
  Field,
10
6
  )
11
7
 
@@ -1,9 +1,7 @@
1
1
  import logging
2
2
 
3
3
  import gevent
4
- from devtools import debug
5
4
  from pydantic.v1 import (
6
- BaseModel,
7
5
  Field,
8
6
  )
9
7
 
@@ -1,9 +1,7 @@
1
1
  import logging
2
2
 
3
3
  import gevent
4
- from devtools import debug
5
4
  from pydantic.v1 import (
6
- BaseModel,
7
5
  Field,
8
6
  )
9
7
 
@@ -1,7 +1,6 @@
1
1
  import logging
2
2
  import math
3
3
 
4
- from devtools import debug
5
4
  from pydantic.v1 import Field
6
5
 
7
6
  from mxcubecore import HardwareRepository as HWR
@@ -1,11 +1,5 @@
1
1
  from devtools import debug
2
- from pydantic.v1 import (
3
- BaseModel,
4
- Field,
5
- )
6
- from typing_extensions import Literal
7
2
 
8
- from mxcubecore import HardwareRepository as HWR
9
3
  from mxcubecore.HardwareObjects.ESRF.queue_entry.ssx_base_queue_entry import (
10
4
  BaseUserCollectionParameters,
11
5
  SsxBaseQueueEntry,
@@ -2,7 +2,6 @@ import math
2
2
 
3
3
  import gevent
4
4
 
5
- from mxcubecore.BaseHardwareObjects import HardwareObject
6
5
  from mxcubecore.HardwareObjects.abstract.AbstractMotor import AbstractMotor
7
6
 
8
7
 
@@ -15,7 +15,6 @@ Example of xml file:
15
15
  </object>
16
16
  """
17
17
 
18
- import random
19
18
  import time
20
19
 
21
20
  import gevent
@@ -29,7 +29,6 @@ import ast
29
29
 
30
30
  from mxcubecore.HardwareObjects.abstract.AbstractBeam import (
31
31
  AbstractBeam,
32
- BeamShape,
33
32
  )
34
33
 
35
34
 
@@ -1,6 +1,5 @@
1
1
  import logging
2
2
  import os
3
- import time
4
3
 
5
4
  import gevent
6
5
 
@@ -187,7 +186,6 @@ class LNLSCollect(AbstractMultiCollect, HardwareObject):
187
186
  return
188
187
 
189
188
  import subprocess
190
- import sys
191
189
 
192
190
  try:
193
191
  process = subprocess.Popen(
@@ -12,8 +12,6 @@ EL6": 6}</values>
12
12
  import time
13
13
  from enum import Enum
14
14
 
15
- import gevent
16
-
17
15
  from mxcubecore.HardwareObjects.abstract.AbstractNState import (
18
16
  AbstractNState,
19
17
  BaseValueEnum,
@@ -6,7 +6,6 @@ from contextlib import ExitStack
6
6
  from uuid import uuid1
7
7
 
8
8
  import gevent
9
- import numpy as np
10
9
  from gevent import subprocess
11
10
  from lima2.client import Detector
12
11
  from lima2.client.smx.aggregation.writer import Writer as SmxAggregationWriter
@@ -15,7 +14,6 @@ from mxcubecore import HardwareRepository as HWR
15
14
  from mxcubecore.BaseHardwareObjects import HardwareObjectState
16
15
  from mxcubecore.CommandContainer import ConnectionError
17
16
  from mxcubecore.HardwareObjects.abstract.AbstractDetector import AbstractDetector
18
- from mxcubecore.TaskUtils import task
19
17
 
20
18
  _logger = logging.getLogger("HWR")
21
19
 
@@ -11,7 +11,6 @@ import time
11
11
 
12
12
  try:
13
13
  from sdm import (
14
- Visitor,
15
14
  storage,
16
15
  )
17
16
  except Exception:
@@ -30,7 +30,6 @@ from mxcubecore.BaseHardwareObjects import HardwareObjectState
30
30
  from mxcubecore.HardwareObjects.abstract import AbstractSampleChanger
31
31
  from mxcubecore.HardwareObjects.abstract.sample_changer import (
32
32
  Container,
33
- Crims,
34
33
  Sample,
35
34
  )
36
35
 
@@ -2,7 +2,6 @@ import logging
2
2
  import time
3
3
 
4
4
  from mxcubecore.BaseHardwareObjects import HardwareObject
5
- from mxcubecore.HardwareObjects.abstract.AbstractMotor import MotorStates
6
5
 
7
6
  """
8
7
  Use the exporter to set different MD2 actuators in/out.
@@ -1,4 +1,3 @@
1
- from mxcubecore.BaseHardwareObjects import HardwareObjectState
2
1
  from mxcubecore.HardwareObjects.ExporterMotor import ExporterMotor
3
2
 
4
3