Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✅ Fix tests broken by #2058 #2059

Merged
merged 65 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
d9ec592
ref: isolate working with functions to avoid __future__ conflicts
mgxd Aug 9, 2017
ce9517a
Merge pull request #2093 from mgxd/fix/py2functions
satra Aug 12, 2017
295f41a
Revert "fix: python 2 Function interfaces recompatibility"
satra Aug 13, 2017
9408fa7
Merge pull request #2148 from nipy/revert-2093-fix/py2functions
satra Aug 13, 2017
6f20051
ref: isolate function handling from __future__ imports
mgxd Aug 15, 2017
80e41e8
Merge remote-tracking branch 'nipy/master'
tsalo Nov 12, 2017
8c39ecd
STY: correction of E302 - expected 2 blank lines, found 1
miykael Jan 6, 2018
e28c80a
Merge pull request #2371 from satra/sty/pepping
effigies Jan 17, 2018
08a5346
RF: Remove builtins
effigies Jul 25, 2018
b476758
STY: Black
effigies Nov 14, 2019
b55e0f7
Merge pull request #3096 from effigies/sty/black
effigies Nov 14, 2019
efce878
:art: Fix public API for `CPAC.utils`
shnizzedy Jan 30, 2024
7e3c163
:wastebasket: Deprecated `repickle` function
shnizzedy Jan 30, 2024
f3e4bb4
:rotating_light: Lint `CPAC.utils.docs` for 1.8.7
shnizzedy Jan 30, 2024
419138f
:art: Don't pre-commit modify row and & column endings in `?sv` files
shnizzedy Jan 30, 2024
cabd7a0
:truck: Move `CPAC/nuisance/utils/__init__.py` → `CPAC/nuisance/utils…
shnizzedy Jan 30, 2024
580fe0f
:recycle: Restore public API for `cpac.nuisance.utils`
shnizzedy Jan 31, 2024
c0028c7
:wrench: Don't group/order imports by type
shnizzedy Jan 31, 2024
8c19371
:rotating_light: Run `pre-commit` on all files
ChildMindInstituteCNL Jan 31, 2024
a2b5b36
:zap: Wait for git lock when `git add`ing
shnizzedy Feb 1, 2024
38a0d10
:truck: Move entrypoint scripts into `CPAC/_entrypoints`
shnizzedy Feb 1, 2024
e2a1ac2
:art: Upgrade `print` statements to `logger` statements
shnizzedy Feb 1, 2024
10f7a8a
:construction: WIP :art: Upgrade `print` statements to `logger` state…
shnizzedy Feb 2, 2024
9847b2c
:wrench: Add autofixable error-message formatting to ruff config
shnizzedy Feb 2, 2024
ca943ad
:wrench: Add auto-fixable f-string rules to ruff
shnizzedy Feb 2, 2024
2e368b9
:rotating_light: Run ruff............................................…
ChildMindInstituteCNL Feb 2, 2024
df82313
:art: Upgrade `print` statements to `logger` statements
shnizzedy Feb 3, 2024
5f7cbb9
:rotating_light: Lint `CPAC.utils.build_data_config` for 1.8.7
shnizzedy Feb 3, 2024
0d01c55
:art: Use built-in `set`s
shnizzedy Feb 3, 2024
0a05327
:white_check_mark: Look in logs for logs
shnizzedy Feb 5, 2024
4ed887e
:wrench: Don't add newlines to pickles
shnizzedy Feb 5, 2024
de50ef3
:rotating_light: Lint `CPAC.utils.utils`
shnizzedy Feb 6, 2024
4650f4f
:rotating_light: Lint CWAS files included in test suite
shnizzedy Feb 6, 2024
b23043f
:art: "Don’t compare boolean values to True or False"
shnizzedy Feb 7, 2024
57a6e78
:construction: WIP :rotating_light: Lint for 1.8.7
shnizzedy Feb 8, 2024
c5ff6cb
:construction: WIP :rotating_light: Lint for 1.8.7
shnizzedy Feb 10, 2024
8c829c0
:pencil2: Fix NIfTI capitalization
shnizzedy Feb 12, 2024
1ae7a7e
:rotating_light: Lint for 1.8.7
shnizzedy Feb 13, 2024
9b4ce66
:rewind: Restore `print` statements
shnizzedy Feb 13, 2024
380cbed
:art: Replace `print` with `logger.info`
shnizzedy Feb 13, 2024
1ccca09
:art: Replace `print` with `logger.info`
shnizzedy Feb 13, 2024
fbd0133
:art: Replace `print` with `logger.info`
shnizzedy Feb 13, 2024
e5a6f32
:art: Replace `print` with `logger.info`
shnizzedy Feb 13, 2024
8464bf4
:art: Remove duplicate import
shnizzedy Feb 13, 2024
82a34ca
:art: Replace `print` with `logger.*` or `raise Exception`
shnizzedy Feb 13, 2024
985ff0c
:rewind: Restore `print` statement
shnizzedy Feb 13, 2024
3c8eb24
:art: Replace `print` with `logger.*` or `raise Exception`
shnizzedy Feb 13, 2024
46705df
:art: Standardize `nibabel as nib`
shnizzedy Feb 13, 2024
8f368de
:art: Replace `print` with `logger.*` or `raise Exception`
shnizzedy Feb 14, 2024
43f5f46
:art: Replace `print` with `logger.*` or `raise Exception`
shnizzedy Feb 14, 2024
2327adf
:art: Replace `print` with `logger.*` or `raise Exception`
shnizzedy Feb 14, 2024
1d79046
:art: Replace `print` with `logger.*` or `raise Exception`
shnizzedy Feb 15, 2024
f6651ed
:art: Remove unnecessary spaces between strings
shnizzedy Feb 15, 2024
d568009
:rotating_light: Lint for 1.8.7
shnizzedy Feb 15, 2024
6ef4d88
:sparkles: Automatically assign logger and iflogger variables in func…
shnizzedy Feb 15, 2024
4dd4f15
:white_check_mark: Add tests for autoassignment of `logger` and `iflo…
shnizzedy Feb 15, 2024
52ac149
:white_check_mark: Test both `as_module` and not
shnizzedy Feb 15, 2024
2f13f67
:white_check_mark: Update `sig_imports` test to include autologging
shnizzedy Feb 16, 2024
30a24d3
:twisted_rightwards_arrowa: Merge `nipype/utils/functions.py` from ni…
shnizzedy Feb 16, 2024
5d28e63
:truck: Move `create_function_from_source` from `nipype` to `CPAC`
shnizzedy Feb 16, 2024
da58b7f
:recycle: Clarify `as_module` imports
shnizzedy Feb 16, 2024
25ea215
:necktie: Import full module when Function(as_module=True)
shnizzedy Feb 17, 2024
85737a1
:recycle: Import global Nipype loggers
shnizzedy Feb 19, 2024
4c4c0fd
Merge pull request #2062 from FCP-INDI/lint/print-to-log
sgiavasis Feb 28, 2024
7c77ce5
Merge pull request #2063 from FCP-INDI/lint/pep8-boolean-comparison
sgiavasis Feb 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/Dockerfiles/C-PAC.develop-ABCD-HCP-bionic.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#!/bin/bash
# Copyright (C) 2022-2024 C-PAC Developers

# This file is part of C-PAC.

# C-PAC is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

# C-PAC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

# You should have received a copy of the GNU Lesser General Public License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
FROM ghcr.io/fcp-indi/c-pac/stage-base:abcd-hcp-v1.8.7.dev1
LABEL org.opencontainers.image.description "Full C-PAC image with software dependencies version-matched to [ABCD-HCP BIDS fMRI Pipeline](https://github.com/DCAN-Labs/abcd-hcp-pipeline/blob/e480a8f99534f1b05f37bf44c64827384b69b383/Dockerfile)"
LABEL org.opencontainers.image.source https://github.com/FCP-INDI/C-PAC
Expand All @@ -12,9 +22,9 @@ COPY dev/docker_data /code/docker_data
RUN rm -Rf /code/docker_data/checksum && \
mv /code/docker_data/* /code && \
rm -Rf /code/docker_data && \
chmod +x /code/run.py && \
chmod +x /code/run-with-freesurfer.sh
ENTRYPOINT ["/code/run-with-freesurfer.sh"]
chmod +x /code/CPAC/_entrypoints/run.py && \
chmod +x /code/CPAC/_entrypoints/run-with-freesurfer.sh
ENTRYPOINT ["/code/CPAC/_entrypoints/run-with-freesurfer.sh"]

# Link libraries for Singularity images
RUN ldconfig \
Expand Down
16 changes: 13 additions & 3 deletions .github/Dockerfiles/C-PAC.develop-fMRIPrep-LTS-xenial.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#!/bin/bash
# Copyright (C) 2021-2024 C-PAC Developers

# This file is part of C-PAC.

# C-PAC is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

# C-PAC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

# You should have received a copy of the GNU Lesser General Public License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
FROM ghcr.io/fcp-indi/c-pac/stage-base:fmriprep-lts-v1.8.7.dev1
LABEL org.opencontainers.image.description "Full C-PAC image with software dependencies version-matched to [fMRIPrep LTS](https://reproducibility.stanford.edu/fmriprep-lts#long-term-support-lts)"
LABEL org.opencontainers.image.source https://github.com/FCP-INDI/C-PAC
Expand All @@ -12,9 +22,9 @@ COPY dev/docker_data /code/docker_data
RUN rm -Rf /code/docker_data/checksum && \
mv /code/docker_data/* /code && \
rm -Rf /code/docker_data && \
chmod +x /code/run.py && \
chmod +x /code/run-with-freesurfer.sh
ENTRYPOINT ["/code/run-with-freesurfer.sh"]
chmod +x /code/CPAC/_entrypoints/run.py && \
chmod +x /code/CPAC/_entrypoints/run-with-freesurfer.sh
ENTRYPOINT ["/code/CPAC/_entrypoints/run-with-freesurfer.sh"]

# link libraries & clean up
RUN sed -i 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
Expand Down
8 changes: 4 additions & 4 deletions .github/Dockerfiles/C-PAC.develop-jammy.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022-2023 C-PAC Developers
# Copyright (C) 2022-2024 C-PAC Developers

# This file is part of C-PAC.

Expand Down Expand Up @@ -28,9 +28,9 @@ COPY dev/docker_data /code/docker_data
RUN rm -Rf /code/docker_data/checksum && \
mv /code/docker_data/* /code && \
rm -Rf /code/docker_data && \
chmod +x /code/run.py && \
chmod +x /code/run-with-freesurfer.sh
ENTRYPOINT ["/code/run-with-freesurfer.sh"]
chmod +x /code/CPAC/_entrypoints/run.py && \
chmod +x /code/CPAC/_entrypoints/run-with-freesurfer.sh
ENTRYPOINT ["/code/CPAC/_entrypoints/run-with-freesurfer.sh"]

# link libraries & clean up
# link libraries & clean up
Expand Down
8 changes: 4 additions & 4 deletions .github/Dockerfiles/C-PAC.develop-lite-jammy.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022-2023 C-PAC Developers
# Copyright (C) 2022-2024 C-PAC Developers

# This file is part of C-PAC.

Expand Down Expand Up @@ -29,9 +29,9 @@ COPY dev/docker_data /code/docker_data
RUN rm -Rf /code/docker_data/checksum && \
mv /code/docker_data/* /code && \
rm -Rf /code/docker_data && \
chmod +x /code/run.py && \
rm -Rf /code/run-with-freesurfer.sh
ENTRYPOINT ["/code/run.py"]
chmod +x /code/CPAC/_entrypoints/run.py && \
rm -Rf /code/CPAC/_entrypoints/run-with-freesurfer.sh
ENTRYPOINT ["/code/CPAC/_entrypoints/run.py"]

# link libraries & clean up
# link libraries & clean up
Expand Down
19 changes: 15 additions & 4 deletions .github/scripts/autoversioning.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,14 @@
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.

# Update version comment strings
cd CPAC
function wait_for_git_lock() {
while [ -f "./.git/index.lock" ]; do
echo "Waiting for the git lock file to be removed..."
sleep 1
done
}

cd CPAC || exit 1
VERSION=$(python -c "from info import __version__; print(('.'.join(('.'.join(__version__[::-1].split('-')[1].split('.')[1:])[::-1], __version__.split('-')[1])) if '-' in __version__ else __version__).split('+', 1)[0])")
cd ..
echo "v${VERSION}" > version
Expand All @@ -30,7 +37,7 @@ else
# Linux and others
find ./CPAC/resources/configs -name "*.yml" -exec sed -i'' -r "${_SED_COMMAND}" {} \;
fi
git add version
wait_for_git_lock && git add version
VERSIONS=( `git show $(git log --pretty=format:'%h' -n 2 version | tail -n 1):version` `cat version` )
export PATTERN="(declare|typeset) -a"
if [[ "$(declare -p VERSIONS)" =~ $PATTERN ]]
Expand All @@ -52,11 +59,15 @@ then
done
unset IFS
fi
git add CPAC/resources/configs .github/Dockerfiles
wait_for_git_lock && git add CPAC/resources/configs .github/Dockerfiles

# Overwrite top-level Dockerfiles with the CI Dockerfiles
cp .github/Dockerfiles/C-PAC.develop-jammy.Dockerfile Dockerfile
cp .github/Dockerfiles/C-PAC.develop-ABCD-HCP-bionic.Dockerfile variant-ABCD-HCP.Dockerfile
cp .github/Dockerfiles/C-PAC.develop-fMRIPrep-LTS-xenial.Dockerfile variant-fMRIPrep-LTS.Dockerfile
cp .github/Dockerfiles/C-PAC.develop-lite-jammy.Dockerfile variant-lite.Dockerfile
git add *Dockerfile
while [ -f "/Users/jon.clucas/CNL/GitHub/C-PAC/.git/index.lock" ]; do
echo "Waiting for the lock file to be removed..."
sleep 1
done
wait_for_git_lock && git add *Dockerfile
32 changes: 24 additions & 8 deletions .github/scripts/get_package_id.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Copyright (C) 2021-2024 C-PAC Developers

# This file is part of C-PAC.

# C-PAC is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.

# C-PAC is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
# License for more details.

# You should have received a copy of the GNU Lesser General Public
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
"""Get Package ID.

Script to get GHCR ID string for a given owner + image tag
Expand All @@ -11,7 +27,7 @@


def get_packages(owner, tag, api_token=None):
"""Function to collect GHCR packages for a given owner & tag.
"""Collect GHCR packages for a given owner & tag.

Parameters
----------
Expand All @@ -32,7 +48,7 @@ def get_packages(owner, tag, api_token=None):
api_token = os.environ.get("GITHUB_TOKEN", "")

def fetch(url):
"""Method to make API call and return response, given a URL.
"""Make API call and return response, given a URL.

Parameters
----------
Expand Down Expand Up @@ -82,7 +98,7 @@ def fetch(url):


def id_from_tag(owner, image, tag, api_token=None):
"""Function to return a package ID given an image version tag.
"""Return a package ID given an image version tag.

Parameters
----------
Expand All @@ -106,12 +122,12 @@ def id_from_tag(owner, image, tag, api_token=None):
]
if len(versions):
return versions[0]
else:
raise LookupError(f"Image not found: ghcr.io/{owner}/{image}:{tag}")
msg = f"Image not found: ghcr.io/{owner}/{image}:{tag}"
raise LookupError(msg)


if __name__ == "__main__":
if len(sys.argv) == 4:
pass
if len(sys.argv) == 4: # noqa: PLR2004
print(id_from_tag(*sys.argv[1:])) # noqa: T201
else:
pass
print(__doc__) # noqa: T201
17 changes: 16 additions & 1 deletion .github/scripts/get_pr_base_shas.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2022-2023 C-PAC Developers
# Copyright (C) 2022-2024 C-PAC Developers

# This file is part of C-PAC.

Expand All @@ -15,3 +15,18 @@
# You should have received a copy of the GNU Lesser General Public
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
"""Get base SHAs for open PRs."""
import os

from github import Github

print( # noqa: T201
" ".join(
[
pr.base.sha
for pr in Github(os.environ.get("GITHUB_TOKEN"))
.get_repo(os.environ.get("GITHUB_REPOSITORY"))
.get_commit(os.environ.get("GITHUB_SHA"))
.get_pulls()
]
)
)
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ repos:
hooks:
- id: check-case-conflict
- id: end-of-file-fixer
exclude: '.*\.?sv|.*\.pkl(z)?'
- id: mixed-line-ending
args:
- --fix=lf
- id: trailing-whitespace
exclude: '.*\.tsv'
- id: check-json
- id: pretty-format-json
args:
Expand Down
14 changes: 10 additions & 4 deletions .ruff.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
extend-exclude = ["dev/docker_data/get-pip_23.0.1.py"]
extend-select = ["A", "C4", "D", "G", "I", "ICN", "NPY", "PL", "RET", "RSE", "RUF", "Q", "T20", "W"]
extend-select = ["A", "C4", "D", "EM", "F541", "G", "I", "ICN", "NPY", "PL", "RET", "RSE", "RUF", "Q", "T20", "UP032", "W"]
# proposed rules to add next release cylce: ["B904", "LOG007", "TRY002", "TRY201", "TRY400", "TRY401"]
# variants still use 3.7
target-version = "py37"

[per-file-ignores]
"CPAC/func_preproc/func_preproc.py" = ["E402"]
[lint]
external = ["T20"] # Don't autoremove 'noqa` comments for these rules

[lint.flake8-import-conventions.extend-aliases]
"CPAC.pipeline.cpac_group_runner" = "cgr"
Expand All @@ -19,7 +20,7 @@ combine-as-imports = true
force-sort-within-sections = true
known-first-party = ["CPAC"]
no-lines-before = ["collab", "other-first-party", "local-folder"]
order-by-type = true
order-by-type = false
section-order = ["future", "standard-library", "third-party", "collab", "other-first-party", "first-party", "local-folder"]

[lint.isort.sections]
Expand All @@ -39,3 +40,8 @@ max-statements = 100
[lint.pyupgrade]
# Until variants Python ≥ 3.10
keep-runtime-typing = true

[per-file-ignores]
"CPAC/func_preproc/func_preproc.py" = ["E402"]
"CPAC/utils/sklearn.py" = ["RUF003"]
"CPAC/utils/utils.py" = ["T201"] # until `repickle` is removed
24 changes: 20 additions & 4 deletions CPAC/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# Copyright (C) 2018-2022 C-PAC Developers
# Copyright (C) 2018-2024 C-PAC Developers

# This file is part of C-PAC.

Expand All @@ -15,12 +15,20 @@

# You should have received a copy of the GNU Lesser General Public
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
from logging import basicConfig, INFO
import os
from typing import Union

import click
from click_aliases import ClickAliasedGroup
import pkg_resources as p

from CPAC.utils.docs import version_report
from CPAC.utils.monitoring.custom_logging import getLogger

logger = getLogger("CPAC")
basicConfig(format="%(message)s", level=INFO)

# CLI tree
#
# cpac
Expand Down Expand Up @@ -55,6 +63,13 @@ def main():
@main.command()
def version():
"""Display environment version information."""
import CPAC

logger.info(
"Environment\n===========\n%s\nC-PAC version: %s",
version_report(),
CPAC.__version__,
)


@main.command()
Expand Down Expand Up @@ -550,7 +565,7 @@ def test():
@test.command(aliases=["run_suite"])
@click.option("--list", "-l", "show_list", is_flag=True)
@click.option("--filter", "-f", "pipeline_filter", default="")
def run_suite(show_list=False, pipeline_filter=""):
def run_suite(show_list: Union[bool, str] = False, pipeline_filter=""):
from CPAC.pipeline import cpac_runner

test_config_dir = p.resource_filename(
Expand Down Expand Up @@ -579,7 +594,7 @@ def run_suite(show_list=False, pipeline_filter=""):
)

if show_list:
pass
show_list = "\nAvailables pipelines:"

no_params = False
for config_file in os.listdir(test_config_dir):
Expand All @@ -588,6 +603,7 @@ def run_suite(show_list=False, pipeline_filter=""):
continue

if show_list:
show_list += f"\n- {config_file[len('pipe-test_'):]}"
continue

pipe = os.path.join(test_config_dir, config_file)
Expand All @@ -604,7 +620,7 @@ def run_suite(show_list=False, pipeline_filter=""):
cpac_runner.run(data, pipe)

if show_list:
pass
logger.info("%s\n", show_list)


@test.group(cls=ClickAliasedGroup)
Expand Down
19 changes: 19 additions & 0 deletions CPAC/_entrypoints/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env python
# Copyright (C) 2018-2024 C-PAC Developers

# This file is part of C-PAC.

# C-PAC is free software: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.

# C-PAC is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
# License for more details.

# You should have received a copy of the GNU Lesser General Public
# License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
"""Entrypoints for C-PAC containers."""
__all__ = []
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (C) 2022 C-PAC Developers
# Copyright (C) 2022-2024 C-PAC Developers

# This file is part of C-PAC.

Expand All @@ -9,4 +9,4 @@

# You should have received a copy of the GNU Lesser General Public License along with C-PAC. If not, see <https://www.gnu.org/licenses/>.
source $FREESURFER_HOME/SetUpFreeSurfer.sh
/code/run.py "$@"
/code/CPAC/_entrypoints/run.py "$@"
Loading
Loading