fractal-server 2.15.10a3__py3-none-any.whl → 2.16.1__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.15.10a3"
1
+ __VERSION__ = "2.16.1"
@@ -1,4 +1,3 @@
1
- import logging
2
1
  from collections.abc import Callable
3
2
  from copy import copy
4
3
  from copy import deepcopy
@@ -38,6 +37,7 @@ from fractal_server.images.status_tools import IMAGE_STATUS_KEY
38
37
  from fractal_server.images.tools import filter_image_list
39
38
  from fractal_server.images.tools import find_image_by_zarr_url
40
39
  from fractal_server.images.tools import merge_type_filters
40
+ from fractal_server.logger import get_logger
41
41
  from fractal_server.types import AttributeFilters
42
42
 
43
43
 
@@ -103,7 +103,7 @@ def execute_tasks_v2(
103
103
  job_type_filters: dict[str, bool],
104
104
  job_attribute_filters: AttributeFilters,
105
105
  ) -> None:
106
- logger = logging.getLogger(logger_name)
106
+ logger = get_logger(logger_name=logger_name)
107
107
 
108
108
  if not workflow_dir_local.exists():
109
109
  logger.warning(
@@ -198,9 +198,6 @@ def execute_tasks_v2(
198
198
  # over from a previous task
199
199
  job_db = db.get(JobV2, job_id)
200
200
  job_db.executor_error_log = None
201
- logger.debug(
202
- f"Resetting `JobV2[{job_id}].executor_error_log` to None."
203
- )
204
201
  db.merge(job_db)
205
202
  db.commit()
206
203
 
@@ -449,10 +446,6 @@ def execute_tasks_v2(
449
446
  # Store the SLURM error in the job database
450
447
  job_db = db.get(JobV2, job_id)
451
448
  job_db.executor_error_log = runner.executor_error_log
452
- logger.debug(
453
- f"Setting JobV2[{job_id}].executor_error_log "
454
- f"to '{job_db.executor_error_log}'."
455
- )
456
449
  db.merge(job_db)
457
450
  db.commit()
458
451
 
fractal_server/config.py CHANGED
@@ -554,12 +554,6 @@ class Settings(BaseSettings):
554
554
  still running on SLURM.
555
555
  """
556
556
 
557
- FRACTAL_SLURM_SBATCH_SLEEP: float = 0
558
- """
559
- Interval to wait (in seconds) between two subsequent `sbatch` calls, when
560
- running a task that produces multiple SLURM jobs.
561
- """
562
-
563
557
  FRACTAL_PIP_CACHE_DIR: AbsolutePathStr | None = None
564
558
  """
565
559
  Absolute path to the cache directory for `pip`; if unset,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: fractal-server
3
- Version: 2.15.10a3
3
+ Version: 2.16.1
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=DRAPKs_NMqlBSvvFCQg9A8Y5cybFELeuWWKatfwpUXs,26
1
+ fractal_server/__init__.py,sha256=Slaz4BSSaAhGoGVOZBGgBrBLlFksmPxY8vXizrOcKgE,23
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
@@ -103,7 +103,7 @@ fractal_server/app/runner/v2/_slurm_sudo.py,sha256=Gvsh4tUlc1_3KdF3B7zEqs-YIntC_
103
103
  fractal_server/app/runner/v2/db_tools.py,sha256=ozp4RFLB3LNI0rM0q0udi6ja8-5vooH_dVqrbmTPNDg,3323
104
104
  fractal_server/app/runner/v2/deduplicate_list.py,sha256=IVTE4abBU1bUprFTkxrTfYKnvkNTanWQ-KWh_etiT08,645
105
105
  fractal_server/app/runner/v2/merge_outputs.py,sha256=YOTKbGOM9s-uqY4KN2onoIxuHNm-v3hr5zv6Aa1KEtA,905
106
- fractal_server/app/runner/v2/runner.py,sha256=73GD1xTbJ2N7AmistlGbu1sXOkT-25fkmKbwCl9pH9A,19793
106
+ fractal_server/app/runner/v2/runner.py,sha256=q-8StMNKqMyrE1FraI-t3zZhsqtJwByE9rJGR22JRlQ,19557
107
107
  fractal_server/app/runner/v2/runner_functions.py,sha256=xteoDSXKxStl3ABEXyjrggPiXdXAPy9sJPfT3B8CQ3Y,19050
108
108
  fractal_server/app/runner/v2/submit_workflow.py,sha256=P4zP2ISOcTxv4nYOTAgVpPyq506DPw9ebeSISkvuXVY,12276
109
109
  fractal_server/app/runner/v2/task_interface.py,sha256=BRSKpitGproY48JQdCbfrghbDonA-EqPP1yIopohpPo,2525
@@ -129,7 +129,7 @@ fractal_server/app/schemas/v2/workflowtask.py,sha256=6eweAMyziwaoMT-7R1fVJYunIeZ
129
129
  fractal_server/app/security/__init__.py,sha256=oJ8RVglpOvWPQY4RokiE2YA72Nqo42dZEjywWTt8xr8,14032
130
130
  fractal_server/app/security/signup_email.py,sha256=Xd6QYxcdmg0PHpDwmUE8XQmPcOj3Xjy5oROcIMhmltM,1472
131
131
  fractal_server/app/user_settings.py,sha256=OP1yiYKtPadxwM51_Q0hdPk3z90TCN4z1BLpQsXyWiU,1316
132
- fractal_server/config.py,sha256=1urzZC54g7CKRFKbfCPZqQrAc-JMmKoMTWxhx3qqIv0,29368
132
+ fractal_server/config.py,sha256=EdgVC0uAEUKiLft7k-IQd9W_TxVGrBNi9TflKEcNKu8,29177
133
133
  fractal_server/data_migrations/2_14_10.py,sha256=jzMg2c1zNO8C_Nho_9_EZJD6kR1-gkFNpNrMR5Hr8hM,1598
134
134
  fractal_server/data_migrations/README.md,sha256=_3AEFvDg9YkybDqCLlFPdDmGJvr6Tw7HRI14aZ3LOIw,398
135
135
  fractal_server/data_migrations/tools.py,sha256=LeMeASwYGtEqd-3wOLle6WARdTGAimoyMmRbbJl-hAM,572
@@ -235,8 +235,8 @@ fractal_server/types/validators/_workflow_task_arguments_validators.py,sha256=HL
235
235
  fractal_server/urls.py,sha256=QjIKAC1a46bCdiPMu3AlpgFbcv6a4l3ABcd5xz190Og,471
236
236
  fractal_server/utils.py,sha256=Vn35lApt1T1J8nc09sAVqd10Cy0sa3dLipcljI-hkuk,2185
237
237
  fractal_server/zip_tools.py,sha256=H0w7wS5yE4ebj7hw1_77YQ959dl2c-L0WX6J_ro1TY4,4884
238
- fractal_server-2.15.10a3.dist-info/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
239
- fractal_server-2.15.10a3.dist-info/METADATA,sha256=rptvdVoMU6oDga9g_s62YvWnpLDIXzepy0fO3pOReMs,4337
240
- fractal_server-2.15.10a3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
241
- fractal_server-2.15.10a3.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
242
- fractal_server-2.15.10a3.dist-info/RECORD,,
238
+ fractal_server-2.16.1.dist-info/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
239
+ fractal_server-2.16.1.dist-info/METADATA,sha256=eaTdwJo3-jLcC4s9w7iJgXLVjn6axnfpWBRgxhq1jRA,4334
240
+ fractal_server-2.16.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
241
+ fractal_server-2.16.1.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
242
+ fractal_server-2.16.1.dist-info/RECORD,,