oceanproc 1.2.1__tar.gz → 1.2.2__tar.gz
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.
- {oceanproc-1.2.1 → oceanproc-1.2.2}/PKG-INFO +1 -1
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/preprocessing_wrapper.py +6 -5
- {oceanproc-1.2.1 → oceanproc-1.2.2}/pyproject.toml +1 -1
- {oceanproc-1.2.1 → oceanproc-1.2.2}/README.md +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/__init__.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/bids_wrapper.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/events_long.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/firstlevel/__init__.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/firstlevel/run_glm.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/firstlevel/tests/__init__.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/firstlevel/tests/test_run_glm.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/group_series.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/grouplevel/__init__.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/grouplevel/computations.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/grouplevel/design_mat_utils.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/grouplevel/dscalar_utils.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/grouplevel/utils.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/ocean_proc.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/oceanparse.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/segmentation_wrapper.py +0 -0
- {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/utils.py +0 -0
|
@@ -76,9 +76,14 @@ def run_preprocessing(subject:str,
|
|
|
76
76
|
exit_program_early(f"Bids path {bids_path} does not exist.")
|
|
77
77
|
elif not derivs_path.exists():
|
|
78
78
|
exit_program_early(f"Derivatives path {derivs_path} does not exist.")
|
|
79
|
+
|
|
80
|
+
license_mount = "/opt/freesurfer/license.txt"
|
|
81
|
+
bids_mount = "/data"
|
|
82
|
+
derivs_mount = "/out"
|
|
83
|
+
work_mount = "/work"
|
|
79
84
|
|
|
80
85
|
if flags.apptainer:
|
|
81
|
-
cmd_prelude = "apptainer run --nv --cleanenv --no-mount cwd"
|
|
86
|
+
cmd_prelude = f"apptainer run --nv --cleanenv --no-mount cwd --pwd {work_mount}"
|
|
82
87
|
mount_flag = "-B"
|
|
83
88
|
else:
|
|
84
89
|
uid = Popen(["id", "-u"], stdout=PIPE).stdout.read().decode("utf-8").strip()
|
|
@@ -104,10 +109,6 @@ def run_preprocessing(subject:str,
|
|
|
104
109
|
additional_mount_paths = " ".join(additional_mount_paths)
|
|
105
110
|
additional_mount_args = " ".join(additional_mount_args)
|
|
106
111
|
|
|
107
|
-
license_mount = "/opt/freesurfer/license.txt"
|
|
108
|
-
bids_mount = "/data"
|
|
109
|
-
derivs_mount = "/out"
|
|
110
|
-
work_mount = "/work"
|
|
111
112
|
preproc_command = f"""{cmd_prelude}
|
|
112
113
|
{mount_flag} {license_file.resolve()}:{license_mount}:ro
|
|
113
114
|
{mount_flag} {bids_path.resolve()}:{bids_mount}:ro
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|