mxcubecore 1.370.0__py3-none-any.whl → 1.372.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/EdnaWorkflow.py +9 -2
- mxcubecore/queue_entry/base_queue_entry.py +10 -0
- {mxcubecore-1.370.0.dist-info → mxcubecore-1.372.0.dist-info}/METADATA +1 -1
- {mxcubecore-1.370.0.dist-info → mxcubecore-1.372.0.dist-info}/RECORD +7 -7
- {mxcubecore-1.370.0.dist-info → mxcubecore-1.372.0.dist-info}/COPYING +0 -0
- {mxcubecore-1.370.0.dist-info → mxcubecore-1.372.0.dist-info}/COPYING.LESSER +0 -0
- {mxcubecore-1.370.0.dist-info → mxcubecore-1.372.0.dist-info}/WHEEL +0 -0
|
@@ -236,8 +236,15 @@ class EdnaWorkflow(HardwareObject):
|
|
|
236
236
|
self.dict_parameters.get("sample_lims_id")
|
|
237
237
|
)
|
|
238
238
|
|
|
239
|
-
except RuntimeError:
|
|
240
|
-
logging.
|
|
239
|
+
except (RuntimeError, AttributeError):
|
|
240
|
+
logging.warning("Failed to fetch sample information for")
|
|
241
|
+
|
|
242
|
+
try:
|
|
243
|
+
self.dict_parameters["investigationId"] = (
|
|
244
|
+
HWR.beamline.lims.session_manager.active_session.session_id
|
|
245
|
+
)
|
|
246
|
+
except (RuntimeError, AttributeError):
|
|
247
|
+
logging.warning("Failed to fetch investigationId from HWR.beamline.lims")
|
|
241
248
|
|
|
242
249
|
self.dict_parameters["token"] = (
|
|
243
250
|
self.token
|
|
@@ -764,6 +764,16 @@ class SampleQueueEntry(BaseQueueEntry):
|
|
|
764
764
|
BaseQueueEntry.post_execute(self)
|
|
765
765
|
params = []
|
|
766
766
|
|
|
767
|
+
# We want to make the sample entry enabled if it contains
|
|
768
|
+
# any skipped collections, so that the user can restart them
|
|
769
|
+
has_executable_child = False
|
|
770
|
+
for child_queue_entry in self._queue_entry_list:
|
|
771
|
+
if child_queue_entry.is_enabled():
|
|
772
|
+
has_executable_child = True
|
|
773
|
+
break
|
|
774
|
+
self.set_enabled(has_executable_child)
|
|
775
|
+
self.get_data_model().set_enabled(has_executable_child)
|
|
776
|
+
|
|
767
777
|
# Start grouped processing, get information from each collection
|
|
768
778
|
# and call autoproc with grouped processing option
|
|
769
779
|
for child in self.get_data_model().get_children():
|
|
@@ -176,7 +176,7 @@ mxcubecore/HardwareObjects/ESRF/queue_entry/ssx_laser_injector_collection.py,sha
|
|
|
176
176
|
mxcubecore/HardwareObjects/ESRF/queue_entry/ssx_line_scan_collection.py,sha256=Ld9rt1ITfSoLzhBvaLx5sWZ8xMzbIZRKocZKAJWhNAY,5377
|
|
177
177
|
mxcubecore/HardwareObjects/ESRF/queue_entry/test_collection.py,sha256=288dLh6rZxLcvpl5wDi_TaTK5g5nAU2Vc7ySgzLq6zs,2430
|
|
178
178
|
mxcubecore/HardwareObjects/ESRFLIMS.py,sha256=pZzy4yC_QZytWFSGTzsR5zxkBoj8WkIgUWwRlhXPp2s,9838
|
|
179
|
-
mxcubecore/HardwareObjects/EdnaWorkflow.py,sha256=
|
|
179
|
+
mxcubecore/HardwareObjects/EdnaWorkflow.py,sha256=0SKi0Y-6O5dmBeEgb8x3z-G-1hQAqpyPCsecYcZSM-A,9050
|
|
180
180
|
mxcubecore/HardwareObjects/Energy.py,sha256=iZyLDPPrmx38SlpeP7V82DY32AT2NovuslONB5aYGPU,6496
|
|
181
181
|
mxcubecore/HardwareObjects/ExporterMotor.py,sha256=7XjyUcymJjJM7YVyteBxjLutgfSuThQ3OvwvwrJ9K1A,8671
|
|
182
182
|
mxcubecore/HardwareObjects/ExporterNState.py,sha256=BH9jkRoud4bHLiflj_1mgDL0Y-LmMjesfTtTGr7EzJ0,6129
|
|
@@ -451,7 +451,7 @@ mxcubecore/model/queue_model_objects.py,sha256=ooEdMEGO-jfuL0GVyKvwbcHiEjfeLvUcP
|
|
|
451
451
|
mxcubecore/protocols_config.py,sha256=0ujkNkTteeSvY3gNjsdhRzQw9FND2S8jNO_ZdrHNPR8,5703
|
|
452
452
|
mxcubecore/queue_entry/__init__.py,sha256=fQLLDdLhLlRdV_pisyb9-G4dbqrGx_iroE4048p2sR8,4087
|
|
453
453
|
mxcubecore/queue_entry/advanced_connector.py,sha256=l0GFbAu64p5mIwRL5ZEJOr08NXAdRvYLR-DXoN-DyUs,3177
|
|
454
|
-
mxcubecore/queue_entry/base_queue_entry.py,sha256=
|
|
454
|
+
mxcubecore/queue_entry/base_queue_entry.py,sha256=xla_J3CBOnQZ3TjHshxt0VJiJbLeD8To7JNrUHvBE-s,34009
|
|
455
455
|
mxcubecore/queue_entry/characterisation.py,sha256=a6wb7VtzN4T4vP3LagkJkiqKPKvanvT-73U3PJmfgk8,9388
|
|
456
456
|
mxcubecore/queue_entry/data_collection.py,sha256=bz2gx25NY66dxSdI0eugkEol8eDcWQp5BJmYdWETzdU,14871
|
|
457
457
|
mxcubecore/queue_entry/energy_scan.py,sha256=LotucKd4wpF5dZtptgU-g05d9f2SECZzB3QLaFQXthk,7952
|
|
@@ -469,8 +469,8 @@ mxcubecore/utils/conversion.py,sha256=G1bk2Mi2ZwGbZa5pEeiFaKWxhSVXVGqu1L9_SioyUO
|
|
|
469
469
|
mxcubecore/utils/qt_import.py,sha256=0lPmqok_oYQZ059kJCq7RWdg490T8YKyRvoZGyWDy4M,14486
|
|
470
470
|
mxcubecore/utils/tango.py,sha256=lAl7Su_GgyXFEEKZ1yu_2gU18wXHVaBbGR8RYcIOVYk,2100
|
|
471
471
|
mxcubecore/utils/units.py,sha256=Gh7ovTUN00XBMUoyDG5W7akCx1pROL-M6pK2z1ouemg,1361
|
|
472
|
-
mxcubecore-1.
|
|
473
|
-
mxcubecore-1.
|
|
474
|
-
mxcubecore-1.
|
|
475
|
-
mxcubecore-1.
|
|
476
|
-
mxcubecore-1.
|
|
472
|
+
mxcubecore-1.372.0.dist-info/COPYING,sha256=u-Mc8zCecwyo4YoP8UulmzCiZZ_MmCLROd_NBtOcRj0,35148
|
|
473
|
+
mxcubecore-1.372.0.dist-info/COPYING.LESSER,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
474
|
+
mxcubecore-1.372.0.dist-info/METADATA,sha256=EgkRmo0lExoyEJyWe9SQfkEw-SYqEfD3LNReVEjVpS0,4259
|
|
475
|
+
mxcubecore-1.372.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
476
|
+
mxcubecore-1.372.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|