Merge remote-tracking branch 'origin/dicom_index' into dicom_index

This commit is contained in:
bpinsard 2024-01-25 15:09:45 -05:00
commit 12d4757a1b
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import shutil
import gitlab import gitlab
import tempfile import tempfile
import logging import logging
import subprocess
from contextlib import contextmanager from contextlib import contextmanager
@ -303,7 +304,7 @@ def import_local_data(
dest = dest + ".7z" dest = dest + ".7z"
# create 7z archive with 1block/file parameters # create 7z archive with 1block/file parameters
subprocess.run( subprocess.run(
["7z", "u", str(dest), "."] + p7z_opts, ["7z", "u", str(dest), "."] + p7z_opts.split(),
cwd=dicom_session_ds.path, cwd=dicom_session_ds.path,
) )
elif input_path.is_file(): elif input_path.is_file():