Skip to content

Commit d7b33f3

Browse files
committed
Return failure result if unable to load Murfey session information
1 parent 0d88293 commit d7b33f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/murfey/workflows/clem/register_preprocessing_results.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ def run(message: dict, murfey_db: Session, demo: bool = False) -> dict[str, bool
301301
"Exception encountered when loading Murfey session information: \n",
302302
f"{traceback.format_exc()}",
303303
)
304+
return {"success": False, "requeue": False}
304305
try:
305306
# Register items in Murfey database
306307
_register_results_in_murfey(

0 commit comments

Comments
 (0)