Skip to content

Commit 651cfa5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8c4d05a commit 651cfa5

File tree

55 files changed

+68
-58
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+68
-58
lines changed

.github/Dockerfiles/C-PAC.develop-jammy.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# You should have received a copy of the GNU Lesser General Public
1616
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
17-
FROM ghcr.io/fcp-indi/c-pac/stage-base:standard-v1.8.8.dev1
17+
FROM ghcr.io/fcp-indi/c-pac/stage-base:standard-v
1818
LABEL org.opencontainers.image.description="Full C-PAC image"
1919
LABEL org.opencontainers.image.source=https://github.com/FCP-INDI/C-PAC
2020
USER root

.github/Dockerfiles/C-PAC.develop-lite-jammy.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
# You should have received a copy of the GNU Lesser General Public
1616
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
17-
FROM ghcr.io/fcp-indi/c-pac/stage-base:lite-v1.8.8.dev1
17+
FROM ghcr.io/fcp-indi/c-pac/stage-base:lite-v
1818
LABEL org.opencontainers.image.description="Full C-PAC image without FreeSurfer"
1919
LABEL org.opencontainers.image.source=https://github.com/FCP-INDI/C-PAC
2020
USER root

.github/Dockerfiles/base-standard.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
1717
FROM ghcr.io/fcp-indi/c-pac/freesurfer:6.0.0-min.neurodocker-jammy AS freesurfer
1818

19-
FROM ghcr.io/fcp-indi/c-pac/stage-base:lite-v1.8.8.dev1
19+
FROM ghcr.io/fcp-indi/c-pac/stage-base:lite-v
2020
LABEL org.opencontainers.image.description="NOT INTENDED FOR USE OTHER THAN AS A STAGE IMAGE IN A MULTI-STAGE BUILD \
2121
Standard software dependencies for C-PAC standard images"
2222
LABEL org.opencontainers.image.source=https://github.com/FCP-INDI/C-PAC

CPAC/anat_preproc/ants.py

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,12 +295,22 @@ def init_brain_extraction_wf( # noqa: PLR0913
295295
init_aff.inputs.search_grid = (40, (0, 40, 40))
296296

297297
# Set up spatial normalization
298-
settings_file = (f'antsBrainExtraction_{normalization_quality}.json' if use_laplacian else f'antsBrainExtractionNoLaplacian_{normalization_quality}.json')
299-
norm = pe.Node(Registration(from_file=str(files('CPAC.anat_preproc').joinpath('data').joinpath(settings_file))),
300-
name='norm',
298+
settings_file = (
299+
f"antsBrainExtraction_{normalization_quality}.json"
300+
if use_laplacian
301+
else f"antsBrainExtractionNoLaplacian_{normalization_quality}.json"
302+
)
303+
norm = pe.Node(
304+
Registration(
305+
from_file=str(
306+
files("CPAC.anat_preproc").joinpath("data").joinpath(settings_file)
307+
)
308+
),
309+
name="norm",
301310
n_procs=omp_nthreads,
302311
mem_gb=1.7,
303-
mem_x=(1233286593342025 / 151115727451828646838272, 'moving_image'))
312+
mem_x=(1233286593342025 / 151115727451828646838272, "moving_image"),
313+
)
304314
norm.inputs.float = use_float
305315
fixed_mask_trait = "fixed_image_mask"
306316
if _ants_version and parseversion(_ants_version) >= Version("2.2.0"):

CPAC/resources/configs/data_config_S3-BIDS-ABIDE.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CPAC Data Configuration File
2-
# Version 1.8.8.dev1
2+
# Version
33
#
44
# http://fcp-indi.github.io for more info.
55
#

CPAC/resources/configs/data_config_S3-BIDS-ADHD200.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CPAC Data Configuration File
2-
# Version 1.8.8.dev1
2+
# Version
33
#
44
# http://fcp-indi.github.io for more info.
55
#

CPAC/resources/configs/data_config_S3-BIDS-ADHD200_only2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CPAC Data Configuration File
2-
# Version 1.8.8.dev1
2+
# Version
33
#
44
# http://fcp-indi.github.io for more info.
55
#

CPAC/resources/configs/data_config_S3-BIDS-NKI-RocklandSample.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CPAC Data Configuration File
2-
# Version 1.8.8.dev1
2+
# Version
33
#
44
# http://fcp-indi.github.io for more info.
55
#

CPAC/resources/configs/data_config_cpac_benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CPAC Data Configuration File
2-
# Version 1.8.8.dev1
2+
# Version
33
#
44
# http://fcp-indi.github.io for more info.
55
#

CPAC/resources/configs/data_settings_template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CPAC Data Settings File
2-
# Version 1.8.8.dev1
2+
# Version
33
#
44
# http://fcp-indi.github.io for more info.
55
#

0 commit comments

Comments
 (0)