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.
Files changed (21) hide show
  1. {oceanproc-1.2.1 → oceanproc-1.2.2}/PKG-INFO +1 -1
  2. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/preprocessing_wrapper.py +6 -5
  3. {oceanproc-1.2.1 → oceanproc-1.2.2}/pyproject.toml +1 -1
  4. {oceanproc-1.2.1 → oceanproc-1.2.2}/README.md +0 -0
  5. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/__init__.py +0 -0
  6. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/bids_wrapper.py +0 -0
  7. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/events_long.py +0 -0
  8. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/firstlevel/__init__.py +0 -0
  9. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/firstlevel/run_glm.py +0 -0
  10. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/firstlevel/tests/__init__.py +0 -0
  11. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/firstlevel/tests/test_run_glm.py +0 -0
  12. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/group_series.py +0 -0
  13. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/grouplevel/__init__.py +0 -0
  14. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/grouplevel/computations.py +0 -0
  15. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/grouplevel/design_mat_utils.py +0 -0
  16. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/grouplevel/dscalar_utils.py +0 -0
  17. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/grouplevel/utils.py +0 -0
  18. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/ocean_proc.py +0 -0
  19. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/oceanparse.py +0 -0
  20. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/segmentation_wrapper.py +0 -0
  21. {oceanproc-1.2.1 → oceanproc-1.2.2}/oceanproc/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: oceanproc
3
- Version: 1.2.1
3
+ Version: 1.2.2
4
4
  Summary: MRI preprocessing for WUSTL Ocean labs
5
5
  Author-Email: Ramone Agard <rhagard@wustl.edu>, Joey Scanga <joeyscanga92@gmail.com>
6
6
  Requires-Python: <3.13,>=3.10
@@ -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
@@ -34,7 +34,7 @@ dependencies = [
34
34
  "pybids>=0.16.3",
35
35
  ]
36
36
  name = "oceanproc"
37
- version = "1.2.1"
37
+ version = "1.2.2"
38
38
  description = "MRI preprocessing for WUSTL Ocean labs"
39
39
  readme = "README.md"
40
40
 
File without changes
File without changes