Skip to content

Commit

Permalink
[Queue] - Fixed typo renamed QueueSkippEntryException to QueueSkipEnt…
Browse files Browse the repository at this point in the history
…ryException
  • Loading branch information
marcus-oscarsson committed Jul 8, 2024
1 parent 32780ba commit 17525d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mxcubeweb/core/components/samplechanger.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def queue_mount_sample(view, data_model, centring_done_cb, async_result): # noq
# supposed to return None); if sample could not be loaded, but
# no exception is raised, let's skip the sample

raise queue_entry.QueueSkippEntryException(
raise queue_entry.QueueSkipEntryException(
"Sample changer could not load sample", ""
)

Expand All @@ -497,7 +497,7 @@ def queue_mount_sample(view, data_model, centring_done_cb, async_result): # noq
if not sample_mount_device.has_loaded_sample():
# Disables all related collections
logging.getLogger("user_level_log").info("Sample not loaded")
raise queue_entry.QueueSkippEntryException("Sample not loaded", "")
raise queue_entry.QueueSkipEntryException("Sample not loaded", "")
else:
signals.loaded_sample_changed(sample_mount_device.get_loaded_sample())
logging.getLogger("user_level_log").info("Sample loaded")
Expand All @@ -518,7 +518,7 @@ def queue_mount_sample(view, data_model, centring_done_cb, async_result): # noq
logging.getLogger("user_level_log").exception(
"Could not center sample, skipping"
)
raise queue_entry.QueueSkippEntryException(
raise queue_entry.QueueSkipEntryException(
"Could not center sample, skipping", ""
)

Expand Down Expand Up @@ -571,7 +571,7 @@ def queue_mount_sample(view, data_model, centring_done_cb, async_result): # noq
centring_method
== queue_entry.CENTRING_METHOD.FULLY_AUTOMATIC
):
raise queue_entry.QueueSkippEntryException(
raise queue_entry.QueueSkipEntryException(
"Could not center sample, skipping",
"",
)
Expand Down

0 comments on commit 17525d9

Please sign in to comment.