fractal-server 2.14.0a32__py3-none-any.whl → 2.14.0a33__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.
@@ -1 +1 @@
1
- __VERSION__ = "2.14.0a32"
1
+ __VERSION__ = "2.14.0a33"
@@ -229,6 +229,9 @@ def run_v2_task_non_parallel(
229
229
  exception=exception,
230
230
  )
231
231
  }
232
+ # NOTE: Here we don't have to handle the
233
+ # `outcome[0].exception is not None` branch, since for non_parallel
234
+ # tasks it was already handled within submit
232
235
  if outcome[0].invalid_output:
233
236
  with next(get_sync_db()) as db:
234
237
  update_status_of_history_unit(
@@ -356,6 +359,9 @@ def run_v2_task_parallel(
356
359
  result=results.get(ind, None),
357
360
  exception=exceptions.get(ind, None),
358
361
  )
362
+ # NOTE: Here we don't have to handle the
363
+ # `outcome[ind].exception is not None` branch, since for parallel
364
+ # tasks it was already handled within multisubmit
359
365
  if outcome[ind].invalid_output:
360
366
  with next(get_sync_db()) as db:
361
367
  update_status_of_history_unit(
@@ -576,7 +582,12 @@ def run_v2_task_compound(
576
582
  result=results.get(ind, None),
577
583
  exception=exceptions.get(ind, None),
578
584
  )
579
- if compute_outcomes[ind].invalid_output:
585
+ # NOTE: For compound task, `multisubmit` did not handle the
586
+ # `exception is not None` branch, therefore we have to include it here.
587
+ if (
588
+ compute_outcomes[ind].exception is not None
589
+ or compute_outcomes[ind].invalid_output
590
+ ):
580
591
  failure = True
581
592
 
582
593
  # NOTE: For compound tasks, we update `HistoryUnit.status` from here,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: fractal-server
3
- Version: 2.14.0a32
3
+ Version: 2.14.0a33
4
4
  Summary: Backend component of the Fractal analytics platform
5
5
  License: BSD-3-Clause
6
6
  Author: Tommaso Comparin
@@ -1,4 +1,4 @@
1
- fractal_server/__init__.py,sha256=J-oNbVXHVlnvXCyIUmhwKJKAoiWaqLdz3TGbwf6DTTQ,26
1
+ fractal_server/__init__.py,sha256=Tz70KF4J2Mmct3ALQfMgq7zpBD0SmKxrn48VV5J-ow8,26
2
2
  fractal_server/__main__.py,sha256=rkM8xjY1KeS3l63irB8yCrlVobR-73uDapC4wvrIlxI,6957
3
3
  fractal_server/alembic.ini,sha256=MWwi7GzjzawI9cCAK1LW7NxIBQDUqD12-ptJoq5JpP0,3153
4
4
  fractal_server/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -102,7 +102,7 @@ fractal_server/app/runner/v2/db_tools.py,sha256=du5dKhMMFMErQXbGIgu9JvO_vtMensod
102
102
  fractal_server/app/runner/v2/deduplicate_list.py,sha256=IVTE4abBU1bUprFTkxrTfYKnvkNTanWQ-KWh_etiT08,645
103
103
  fractal_server/app/runner/v2/merge_outputs.py,sha256=D1L4Taieq9i71SPQyNc1kMokgHh-sV_MqF3bv7QMDBc,907
104
104
  fractal_server/app/runner/v2/runner.py,sha256=B4kAF1S-zHf2PbyHedfuiaNpu4oslVDp33KgXYcoXIk,15706
105
- fractal_server/app/runner/v2/runner_functions.py,sha256=0CaYKA3W_wlsaEleXUON-h6Sx-8hpv3B0xFT0KhLVvY,18518
105
+ fractal_server/app/runner/v2/runner_functions.py,sha256=2W6CFkezUsQ_k8YuC2oOEMtB_-7M9ensyhwCFvlS2No,19096
106
106
  fractal_server/app/runner/v2/runner_functions_low_level.py,sha256=_h_OOffq3d7V0uHa8Uvs0mj31y1GSZBUXjDDF3WjVjY,3620
107
107
  fractal_server/app/runner/v2/submit_workflow.py,sha256=QywUGIoHAHnrWgfnyX8W9kVqKY-RvVyNLpzrbsXZOZ4,13075
108
108
  fractal_server/app/runner/v2/task_interface.py,sha256=IXdQTI8rXFgXv1Ez0js4CjKFf3QwO2GCHRTuwiFtiTQ,2891
@@ -209,8 +209,8 @@ fractal_server/tasks/v2/utils_templates.py,sha256=Kc_nSzdlV6KIsO0CQSPs1w70zLyENP
209
209
  fractal_server/urls.py,sha256=QjIKAC1a46bCdiPMu3AlpgFbcv6a4l3ABcd5xz190Og,471
210
210
  fractal_server/utils.py,sha256=PMwrxWFxRTQRl1b9h-NRIbFGPKqpH_hXnkAT3NfZdpY,3571
211
211
  fractal_server/zip_tools.py,sha256=GjDgo_sf6V_DDg6wWeBlZu5zypIxycn_l257p_YVKGc,4876
212
- fractal_server-2.14.0a32.dist-info/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
213
- fractal_server-2.14.0a32.dist-info/METADATA,sha256=VQtcPtQieQfckUnH7Ix--dUBWG1fhg0BqaP2ugBz6wU,4563
214
- fractal_server-2.14.0a32.dist-info/WHEEL,sha256=7dDg4QLnNKTvwIDR9Ac8jJaAmBC_owJrckbC0jjThyA,88
215
- fractal_server-2.14.0a32.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
216
- fractal_server-2.14.0a32.dist-info/RECORD,,
212
+ fractal_server-2.14.0a33.dist-info/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
213
+ fractal_server-2.14.0a33.dist-info/METADATA,sha256=GSqnRaq2UDONr0nfs3PW8XvMCbA6IS-Yq9KONzE1Y54,4563
214
+ fractal_server-2.14.0a33.dist-info/WHEEL,sha256=7dDg4QLnNKTvwIDR9Ac8jJaAmBC_owJrckbC0jjThyA,88
215
+ fractal_server-2.14.0a33.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
216
+ fractal_server-2.14.0a33.dist-info/RECORD,,