mxcubecore 1.389.0__py3-none-any.whl → 1.391.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.
Potentially problematic release.
This version of mxcubecore might be problematic. Click here for more details.
- mxcubecore/HardwareObjects/AutoPowerSardanaMotor.py +0 -10
- mxcubecore/HardwareObjects/ESRF/ESRFSession.py +1 -1
- mxcubecore/HardwareObjects/ICATLIMS.py +24 -25
- mxcubecore/HardwareObjects/Native/__init__.py +2 -2
- mxcubecore/HardwareObjects/Session.py +1 -1
- {mxcubecore-1.389.0.dist-info → mxcubecore-1.391.0.dist-info}/METADATA +1 -1
- {mxcubecore-1.389.0.dist-info → mxcubecore-1.391.0.dist-info}/RECORD +10 -10
- {mxcubecore-1.389.0.dist-info → mxcubecore-1.391.0.dist-info}/COPYING +0 -0
- {mxcubecore-1.389.0.dist-info → mxcubecore-1.391.0.dist-info}/COPYING.LESSER +0 -0
- {mxcubecore-1.389.0.dist-info → mxcubecore-1.391.0.dist-info}/WHEEL +0 -0
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Disable 'Invalid module name' check.
|
|
3
|
-
#
|
|
4
|
-
# We can possibly make module name ruff compliant once we migrated to
|
|
5
|
-
# YAML config files. With YAML configs we get more flexibility with module
|
|
6
|
-
# names.
|
|
7
|
-
#
|
|
8
|
-
# ruff: noqa: N999
|
|
9
|
-
#
|
|
10
|
-
|
|
11
1
|
from mxcubecore.HardwareObjects.SardanaMotor import SardanaMotor
|
|
12
2
|
|
|
13
3
|
|
|
@@ -27,7 +27,7 @@ class ESRFSession(Session.Session):
|
|
|
27
27
|
archive_base_directory, archive_folder
|
|
28
28
|
)
|
|
29
29
|
|
|
30
|
-
def
|
|
30
|
+
def get_full_paths(self, subdir: str, tag: str) -> Tuple[str, str]:
|
|
31
31
|
"""
|
|
32
32
|
Returns the full path to both image and processed data.
|
|
33
33
|
The path(s) returned will follow the convention:
|
|
@@ -325,31 +325,30 @@ class ICATLIMS(AbstractLims):
|
|
|
325
325
|
self.__get_sample_information_by(sample_sheet_id)
|
|
326
326
|
)
|
|
327
327
|
if sample_information is not None:
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
)
|
|
328
|
+
destination_folder = (
|
|
329
|
+
HWR.beamline.session.get_base_process_directory()
|
|
330
|
+
)
|
|
331
|
+
msg = "Download resource: "
|
|
332
|
+
msg += f"sample_sheet_id={sample_sheet_id} "
|
|
333
|
+
msg += f"destination_folder={destination_folder}"
|
|
334
|
+
logger.debug(msg)
|
|
335
|
+
downloads = self._download_resources(
|
|
336
|
+
sample_sheet_id,
|
|
337
|
+
sample_information.resources,
|
|
338
|
+
destination_folder,
|
|
339
|
+
sample_name,
|
|
340
|
+
)
|
|
341
|
+
msg = f"downloaded {len(downloads)} resources"
|
|
342
|
+
logger.debug(msg)
|
|
343
|
+
if len(downloads) > 0:
|
|
344
|
+
try:
|
|
345
|
+
self.__add_download_path_to_processing_plan(
|
|
346
|
+
processing_plan, downloads
|
|
347
|
+
)
|
|
348
|
+
except RuntimeError:
|
|
349
|
+
logger.exception(
|
|
350
|
+
"Failed __add_download_path_to_processing_plan"
|
|
351
|
+
)
|
|
353
352
|
|
|
354
353
|
processing_plan = {
|
|
355
354
|
item["key"]: item["value"] for item in processing_plan
|
|
@@ -106,9 +106,9 @@ def queue_update_result(server_hwobj, node_id, html_report):
|
|
|
106
106
|
return result
|
|
107
107
|
|
|
108
108
|
|
|
109
|
-
def
|
|
109
|
+
def queue_get_full_paths(server_hwobj, subdir, tag):
|
|
110
110
|
""" """
|
|
111
|
-
return HWR.beamline.session.
|
|
111
|
+
return HWR.beamline.session.get_full_paths(subdir, tag)
|
|
112
112
|
|
|
113
113
|
|
|
114
114
|
def queue_get_model_code(server_hwobj):
|
|
@@ -262,7 +262,7 @@ class Session(HardwareObject):
|
|
|
262
262
|
|
|
263
263
|
return f"{directory}/"
|
|
264
264
|
|
|
265
|
-
def
|
|
265
|
+
def get_full_paths(self, subdir: str = "", tag: str = "") -> Tuple[str, str]:
|
|
266
266
|
"""
|
|
267
267
|
Returns the full path to both image and processed data.
|
|
268
268
|
The path(s) returned will follow the convention:
|
|
@@ -45,7 +45,7 @@ mxcubecore/HardwareObjects/ALBA/XalocMachineInfo.py,sha256=2yAOzay9ZUC_V2Ou6hi1P
|
|
|
45
45
|
mxcubecore/HardwareObjects/ALBA/XalocMiniDiff.py,sha256=DYrg1M8L1L_B8UuEfDgKiEdO5ZGSGua8QFw5HsQJmww,9093
|
|
46
46
|
mxcubecore/HardwareObjects/ALBA/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
47
47
|
mxcubecore/HardwareObjects/Attenuators.py,sha256=i1mVIATukrWMuMcfRmDKrrE502PDZj8wIoPtVjhp6TY,2044
|
|
48
|
-
mxcubecore/HardwareObjects/AutoPowerSardanaMotor.py,sha256=
|
|
48
|
+
mxcubecore/HardwareObjects/AutoPowerSardanaMotor.py,sha256=9NFwkw8Cq1ySc6oHFsAIqc_hw6K_n2ND1WP-JKGZT0U,994
|
|
49
49
|
mxcubecore/HardwareObjects/BeamInfo.py,sha256=_-AAaim9PtjRD2oqbPVSqtodQABAytM3OV6ElJGrCVA,7309
|
|
50
50
|
mxcubecore/HardwareObjects/Beamline.py,sha256=cvUZ05_yc-ZNT5faE6T692amdITfQHo1LYr1eOQT06Q,14226
|
|
51
51
|
mxcubecore/HardwareObjects/BeamlineActions.py,sha256=Nwf2Gkq6_YIfkSngDGw7VYCkHa9OBesoJAv9jP0Vczc,10653
|
|
@@ -147,7 +147,7 @@ mxcubecore/HardwareObjects/ESRF/ESRFMetadataManagerClient.py,sha256=bGFsp6EjU1Xb
|
|
|
147
147
|
mxcubecore/HardwareObjects/ESRF/ESRFMultiCollect.py,sha256=38eXiTn0o3u_hcG5vuZSY-jkySRZkXOAgMH5OuRqIF4,22937
|
|
148
148
|
mxcubecore/HardwareObjects/ESRF/ESRFPhotonFlux.py,sha256=PXJJJO-GfxrTfpw5tgc_dHh5b5kyYbiq-zUXyG7_8tQ,3948
|
|
149
149
|
mxcubecore/HardwareObjects/ESRF/ESRFSC3.py,sha256=Mw2Lj_0w7TapaCesDxhRWSAY1PRG4DJCoLWgYdP_qV4,9545
|
|
150
|
-
mxcubecore/HardwareObjects/ESRF/ESRFSession.py,sha256=
|
|
150
|
+
mxcubecore/HardwareObjects/ESRF/ESRFSession.py,sha256=KnZ__trc7GE2eTpNTQ8B7ex1XQ4aRbq0cZHS7hZKRm0,4324
|
|
151
151
|
mxcubecore/HardwareObjects/ESRF/ESRFSmallXrayCentring.py,sha256=YJFMtb3VxHchxTWi_pqrEz3ML1YunoYLkAseDZqF1JA,3617
|
|
152
152
|
mxcubecore/HardwareObjects/ESRF/ESRFXRFSpectrum.py,sha256=4zN3F_VsmQWQVfNwIV9qcUlVLeB830FOl8I36y7xClc,12217
|
|
153
153
|
mxcubecore/HardwareObjects/ESRF/ID232BeamDefiner.py,sha256=4Piso4ftMDSBw3rZJpjoJtU-ARkxVa1Vy49BybleCyY,5030
|
|
@@ -196,7 +196,7 @@ mxcubecore/HardwareObjects/GrobMotor.py,sha256=l5A9Us_ceLXlhEF6RNwyXQsI56fJiobWh
|
|
|
196
196
|
mxcubecore/HardwareObjects/GrobSampleChanger.py,sha256=LMetcL45fWrwP4C8rtENrEDNydelLpJ77SD1JC5C3go,8113
|
|
197
197
|
mxcubecore/HardwareObjects/Harvester.py,sha256=0TYUXmz-Pmfd7Dhz7ToUGHzJRuJmnga8-4BK4B0KGQA,26524
|
|
198
198
|
mxcubecore/HardwareObjects/HarvesterMaintenance.py,sha256=8s4yHDEFG-C1WYyW_RlwrFPSpc8o5hGi14aQuFQFrHs,9405
|
|
199
|
-
mxcubecore/HardwareObjects/ICATLIMS.py,sha256=
|
|
199
|
+
mxcubecore/HardwareObjects/ICATLIMS.py,sha256=AaCIqI54DtwV8y82_a3aJbbQ3EFUfG26JBi0l94nM2U,54641
|
|
200
200
|
mxcubecore/HardwareObjects/ISARAMaint.py,sha256=I8LHXK6wCfzixsxWmmcqWlrdaL3AOX91XmVeAwT7GPk,8959
|
|
201
201
|
mxcubecore/HardwareObjects/LNLS/EPICSActuator.py,sha256=3dDj6aXyTz03m8osdA6udq_a4bch-KNcUMrXSNvbG5Q,2587
|
|
202
202
|
mxcubecore/HardwareObjects/LNLS/EPICSMotor.py,sha256=lRTc1t32rJKNTIcnKCECrqo2m9BhlYvLq9NWg4Y0w0Q,3576
|
|
@@ -252,7 +252,7 @@ mxcubecore/HardwareObjects/MotorWPositions.py,sha256=QDX8yF8KTTh75e4H-k0f1AaavGi
|
|
|
252
252
|
mxcubecore/HardwareObjects/MotorsNPosition.py,sha256=TvxC4yiAVzu962x7I1ZdqoUXihI6JsP37ifpNOiRqZ4,8636
|
|
253
253
|
mxcubecore/HardwareObjects/MultiplePositions.py,sha256=03L8P4q2-4JnsczLO95L9ASUkQ3bmBb5PewUdBIGH4I,11661
|
|
254
254
|
mxcubecore/HardwareObjects/NState.py,sha256=GKjlPEbc7XsTGjI228ESl61CwYFz6pbBXYrUVmG0i64,1772
|
|
255
|
-
mxcubecore/HardwareObjects/Native/__init__.py,sha256=
|
|
255
|
+
mxcubecore/HardwareObjects/Native/__init__.py,sha256=gq9QKYuZXqDzNPomA4PBu-cxhP-_9jD9qYxlcPsQKdw,4200
|
|
256
256
|
mxcubecore/HardwareObjects/ObjectsController.py,sha256=Oh5G7yqdlcv5TAQzu0myRFAdmnhM1OFnI-auGzlTzxY,697
|
|
257
257
|
mxcubecore/HardwareObjects/PlateManipulator.py,sha256=OMe33zhhVy0RO8_iTVsnKfDrRP27SqcqUynECRgH1vY,24734
|
|
258
258
|
mxcubecore/HardwareObjects/PlateManipulatorMaintenance.py,sha256=-bZ4gvFo4-ept0VSeDZLsDGGTQU4GSWgbYJU_lJ6VNc,3313
|
|
@@ -312,7 +312,7 @@ mxcubecore/HardwareObjects/SampleStage.py,sha256=GykGZfus7B_0qeHvMT7pU0MZ8CBjVaA
|
|
|
312
312
|
mxcubecore/HardwareObjects/SampleView.py,sha256=zTgn15AXgzKw0RtxQCl-sLqwqTWyJGgPsiJ8FPQfJZY,19418
|
|
313
313
|
mxcubecore/HardwareObjects/SardanaMotor.py,sha256=-A7-45LzGV_Ghpzta8yDsJGw-RCZpVnc77Bk_96iOzc,7470
|
|
314
314
|
mxcubecore/HardwareObjects/SecureXMLRpcRequestHandler.py,sha256=cpcSYcKU25_mBENUJ1oFBual9NRdg0VPnBhbTdYghGY,4215
|
|
315
|
-
mxcubecore/HardwareObjects/Session.py,sha256=
|
|
315
|
+
mxcubecore/HardwareObjects/Session.py,sha256=33HneK_kzF91QVClblYlL6tD42WwGnv4ue-u0Sc5Owk,13077
|
|
316
316
|
mxcubecore/HardwareObjects/SimpleHTML.py,sha256=OOGN4ljwn2QtM9ZESDUHSTYvj7xsOOlMyrYs6p2XVDU,9175
|
|
317
317
|
mxcubecore/HardwareObjects/SpecMotor.py,sha256=J-92iDpbUK7Odm1ZBMF3ywUtCR3q-9_-s8AfyWkJ-us,2134
|
|
318
318
|
mxcubecore/HardwareObjects/SpecMotorWPositions.py,sha256=yHvb-iNTMIGrGPXi1EZD1X3XUwDz0FmbpsU22UZeHi8,3818
|
|
@@ -467,8 +467,8 @@ mxcubecore/utils/conversion.py,sha256=G1bk2Mi2ZwGbZa5pEeiFaKWxhSVXVGqu1L9_SioyUO
|
|
|
467
467
|
mxcubecore/utils/qt_import.py,sha256=0lPmqok_oYQZ059kJCq7RWdg490T8YKyRvoZGyWDy4M,14486
|
|
468
468
|
mxcubecore/utils/tango.py,sha256=vwEVrIrWKEFaeaJUz3xbaC7XWHY8ZeJ-pfcSrTfZPIE,2114
|
|
469
469
|
mxcubecore/utils/units.py,sha256=Gh7ovTUN00XBMUoyDG5W7akCx1pROL-M6pK2z1ouemg,1361
|
|
470
|
-
mxcubecore-1.
|
|
471
|
-
mxcubecore-1.
|
|
472
|
-
mxcubecore-1.
|
|
473
|
-
mxcubecore-1.
|
|
474
|
-
mxcubecore-1.
|
|
470
|
+
mxcubecore-1.391.0.dist-info/COPYING,sha256=u-Mc8zCecwyo4YoP8UulmzCiZZ_MmCLROd_NBtOcRj0,35148
|
|
471
|
+
mxcubecore-1.391.0.dist-info/COPYING.LESSER,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
472
|
+
mxcubecore-1.391.0.dist-info/METADATA,sha256=n5ROKNwKg-OEu2PebCYmjcpokufoReFDtS-tl6xFOcA,4259
|
|
473
|
+
mxcubecore-1.391.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
474
|
+
mxcubecore-1.391.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|