fractal-server 2.14.0a23__py3-none-any.whl → 2.14.0a24__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.
- fractal_server/__init__.py +1 -1
- fractal_server/app/runner/compress_folder.py +1 -1
- fractal_server/app/runner/executors/slurm_common/base_slurm_runner.py +0 -2
- fractal_server/app/runner/executors/slurm_ssh/runner.py +1 -1
- fractal_server/app/runner/extract_archive.py +1 -1
- {fractal_server-2.14.0a23.dist-info → fractal_server-2.14.0a24.dist-info}/METADATA +1 -1
- {fractal_server-2.14.0a23.dist-info → fractal_server-2.14.0a24.dist-info}/RECORD +10 -10
- {fractal_server-2.14.0a23.dist-info → fractal_server-2.14.0a24.dist-info}/LICENSE +0 -0
- {fractal_server-2.14.0a23.dist-info → fractal_server-2.14.0a24.dist-info}/WHEEL +0 -0
- {fractal_server-2.14.0a23.dist-info → fractal_server-2.14.0a24.dist-info}/entry_points.txt +0 -0
fractal_server/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__VERSION__ = "2.14.
|
1
|
+
__VERSION__ = "2.14.0a24"
|
@@ -54,7 +54,7 @@ def _create_tar_archive(
|
|
54
54
|
f"--files-from={filelist_path} --ignore-failed-read"
|
55
55
|
)
|
56
56
|
|
57
|
-
logger.
|
57
|
+
logger.debug(f"cmd tar:\n{cmd_tar}")
|
58
58
|
|
59
59
|
run_subprocess(cmd=cmd_tar, logger_name=logger_name, allow_char="*")
|
60
60
|
elapsed = time.perf_counter() - t_start
|
@@ -832,10 +832,8 @@ class BaseSlurmRunner(BaseRunner):
|
|
832
832
|
"""
|
833
833
|
Check that a list of `SlurmJob`s have homogeneous working folders.
|
834
834
|
"""
|
835
|
-
# Extract `workdir_remote` and `workdir_local`
|
836
835
|
set_workdir_local = set(_job.workdir_local for _job in slurm_jobs)
|
837
836
|
set_workdir_remote = set(_job.workdir_remote for _job in slurm_jobs)
|
838
|
-
|
839
837
|
if len(set_workdir_local) > 1:
|
840
838
|
raise ValueError(f"Non-unique values in {set_workdir_local=}.")
|
841
839
|
if len(set_workdir_remote) > 1:
|
@@ -90,7 +90,7 @@ class SlurmSSHRunner(BaseSlurmRunner):
|
|
90
90
|
).as_posix()
|
91
91
|
|
92
92
|
# Create file list
|
93
|
-
# # FIXME can we make this more efficient with
|
93
|
+
# # FIXME can we make this more efficient with iterators?
|
94
94
|
filelist = []
|
95
95
|
for _slurm_job in finished_slurm_jobs:
|
96
96
|
_single_job_filelist = [
|
@@ -57,7 +57,7 @@ def extract_archive(archive_path: Path):
|
|
57
57
|
|
58
58
|
# Run tar command
|
59
59
|
cmd_tar = (
|
60
|
-
f"tar -xzvf {archive_path}
|
60
|
+
f"tar -xzvf {archive_path} --directory={subfolder_path.as_posix()}"
|
61
61
|
)
|
62
62
|
logger.debug(f"{cmd_tar=}")
|
63
63
|
run_subprocess(cmd=cmd_tar, logger_name=logger_name)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
fractal_server/__init__.py,sha256=
|
1
|
+
fractal_server/__init__.py,sha256=CUzmJ2W7Rx8Ttm0LRwSuqR8wQNBOWiu69MFDz4uNgAo,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
|
@@ -67,7 +67,7 @@ fractal_server/app/routes/aux/validate_user_settings.py,sha256=FLVi__8YFcm_6c_K5
|
|
67
67
|
fractal_server/app/routes/pagination.py,sha256=L8F5JqekF39qz-LpeScdlhb57MQnSRXjK4ZEtsZqYLk,1210
|
68
68
|
fractal_server/app/runner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
69
69
|
fractal_server/app/runner/components.py,sha256=-Ii5l8d_V6f5DFOd-Zsr8VYmOsyqw0Hox9fEFQiuqxY,66
|
70
|
-
fractal_server/app/runner/compress_folder.py,sha256=
|
70
|
+
fractal_server/app/runner/compress_folder.py,sha256=DX-4IYlSXlMd0EmXDD8M8FxisfKLbooSTrdNtzYAQAM,4876
|
71
71
|
fractal_server/app/runner/exceptions.py,sha256=JC5ufHyeA1hYD_rkZUscI30DD8D903ncag7Z3AArmUY,4215
|
72
72
|
fractal_server/app/runner/executors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
73
73
|
fractal_server/app/runner/executors/base_runner.py,sha256=_elfqkuw1TGRacPG4aTTYKUTbF4A-Y2Rmft9LFi-Mwc,5554
|
@@ -78,17 +78,17 @@ fractal_server/app/runner/executors/slurm_common/__init__.py,sha256=47DEQpj8HBSa
|
|
78
78
|
fractal_server/app/runner/executors/slurm_common/_batching.py,sha256=ZY020JZlDS5mfpgpWTChQkyHU7iLE5kx2HVd57_C6XA,8850
|
79
79
|
fractal_server/app/runner/executors/slurm_common/_job_states.py,sha256=nuV-Zba38kDrRESOVB3gaGbrSPZc4q7YGichQaeqTW0,238
|
80
80
|
fractal_server/app/runner/executors/slurm_common/_slurm_config.py,sha256=fZaFUUXqDH0p3DndCFUpFqTqyD2tMVCuSYgYLAycpVw,15897
|
81
|
-
fractal_server/app/runner/executors/slurm_common/base_slurm_runner.py,sha256=
|
81
|
+
fractal_server/app/runner/executors/slurm_common/base_slurm_runner.py,sha256=_WXa9sDrx8MgsllO7OpHLrVjqpkapnIekqug6QyMqYE,32258
|
82
82
|
fractal_server/app/runner/executors/slurm_common/get_slurm_config.py,sha256=-fAX1DZMB5RZnyYanIJD72mWOJAPkh21jd4loDXKJw4,5994
|
83
83
|
fractal_server/app/runner/executors/slurm_common/remote.py,sha256=FS_F8EaPp-A5eQT5_ZH3ICCHt0-C8b_2OSYcyRkXnb4,5851
|
84
84
|
fractal_server/app/runner/executors/slurm_common/slurm_job_task_models.py,sha256=RoxHLKOn0_wGjnY0Sv0a9nDSiqxYZHKRoMkT3p9_G1E,3607
|
85
85
|
fractal_server/app/runner/executors/slurm_common/utils_executors.py,sha256=naPyJI0I3lD-sYHbSXbMFGUBK4h_SggA5V91Z1Ch1Xg,1416
|
86
86
|
fractal_server/app/runner/executors/slurm_ssh/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
87
|
-
fractal_server/app/runner/executors/slurm_ssh/runner.py,sha256=
|
87
|
+
fractal_server/app/runner/executors/slurm_ssh/runner.py,sha256=tHdgSnEzIZAFvq23UcA8zBndDemMU0cdwW4R4VZfIfA,7137
|
88
88
|
fractal_server/app/runner/executors/slurm_sudo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
89
89
|
fractal_server/app/runner/executors/slurm_sudo/_subprocess_run_as_user.py,sha256=O1bNg1DiSDJmQE0RmOk2Ii47DagiXp5ryd0R6KxO2OM,3177
|
90
90
|
fractal_server/app/runner/executors/slurm_sudo/runner.py,sha256=WGGVHX_juqyC6OVhln9yg-YKjLiuAoWZhAGxBjhNkWw,5873
|
91
|
-
fractal_server/app/runner/extract_archive.py,sha256=
|
91
|
+
fractal_server/app/runner/extract_archive.py,sha256=I7UGIHXXuFvlgVPsP7GMWPu2-DiS1EiyBs7a1bvgkxI,2458
|
92
92
|
fractal_server/app/runner/filenames.py,sha256=lPnxKHtdRizr6FqG3zOdjDPyWA7GoaJGTtiuJV0gA8E,70
|
93
93
|
fractal_server/app/runner/run_subprocess.py,sha256=c3JbYXq3hX2aaflQU19qJ5Xs6J6oXGNvnTEoAfv2bxc,959
|
94
94
|
fractal_server/app/runner/set_start_and_last_task_index.py,sha256=-q4zVybAj8ek2XlbENKlfOAJ39hT_zoJoZkqzDqiAMY,1254
|
@@ -207,8 +207,8 @@ fractal_server/tasks/v2/utils_templates.py,sha256=Kc_nSzdlV6KIsO0CQSPs1w70zLyENP
|
|
207
207
|
fractal_server/urls.py,sha256=QjIKAC1a46bCdiPMu3AlpgFbcv6a4l3ABcd5xz190Og,471
|
208
208
|
fractal_server/utils.py,sha256=PMwrxWFxRTQRl1b9h-NRIbFGPKqpH_hXnkAT3NfZdpY,3571
|
209
209
|
fractal_server/zip_tools.py,sha256=GjDgo_sf6V_DDg6wWeBlZu5zypIxycn_l257p_YVKGc,4876
|
210
|
-
fractal_server-2.14.
|
211
|
-
fractal_server-2.14.
|
212
|
-
fractal_server-2.14.
|
213
|
-
fractal_server-2.14.
|
214
|
-
fractal_server-2.14.
|
210
|
+
fractal_server-2.14.0a24.dist-info/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
|
211
|
+
fractal_server-2.14.0a24.dist-info/METADATA,sha256=htM5Xh5zqxmdam8kHpl9STp9eMAU3M_pBW7umqJsBR0,4563
|
212
|
+
fractal_server-2.14.0a24.dist-info/WHEEL,sha256=7dDg4QLnNKTvwIDR9Ac8jJaAmBC_owJrckbC0jjThyA,88
|
213
|
+
fractal_server-2.14.0a24.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
|
214
|
+
fractal_server-2.14.0a24.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|