From a8d18fc791a48b73084c2cb4e31e0ccfb09df17f Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Wed, 8 May 2024 16:29:58 -0400 Subject: [PATCH] Update. --- .readthedocs.yml | 7 +++---- Dockerfile | 1 + src/fmripost_aroma/tests/tests.py | 3 ++- src/fmripost_aroma/workflows/tests/test_base.py | 6 +++--- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 1421e46..b46910d 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -2,11 +2,10 @@ version: 2 build: os: ubuntu-22.04 + apt_packages: + - graphviz tools: python: "3.10" - jobs: - post_checkout: - - git fetch --unshallow sphinx: configuration: docs/conf.py @@ -16,4 +15,4 @@ python: - method: pip path: . extra_requirements: - - doc \ No newline at end of file + - doc diff --git a/Dockerfile b/Dockerfile index 08755a2..f236bea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -130,6 +130,7 @@ RUN apt-get update && \ gcc \ git \ gnupg \ + libc-dev \ lsb-release \ netbase \ xvfb && \ diff --git a/src/fmripost_aroma/tests/tests.py b/src/fmripost_aroma/tests/tests.py index 1474564..7662782 100644 --- a/src/fmripost_aroma/tests/tests.py +++ b/src/fmripost_aroma/tests/tests.py @@ -21,6 +21,7 @@ # https://www.nipreps.org/community/licensing/ # """Utilities and mocks for testing and documentation building.""" + import os import shutil from contextlib import contextmanager @@ -35,7 +36,7 @@ @contextmanager def mock_config(): """Create a mock config for documentation and testing purposes.""" - from xcp_d import config + from fmripost_aroma import config _old_fs = os.getenv('FREESURFER_HOME') if not _old_fs: diff --git a/src/fmripost_aroma/workflows/tests/test_base.py b/src/fmripost_aroma/workflows/tests/test_base.py index 7c5fa1d..80a26b4 100644 --- a/src/fmripost_aroma/workflows/tests/test_base.py +++ b/src/fmripost_aroma/workflows/tests/test_base.py @@ -1,8 +1,8 @@ """Tests for fmripost_aroma.workflows.""" -def test_init_single_subject_wf(): - from fmripost_aroma.workflows.base import init_single_subject_wf +def test_init_ica_aroma_wf(): + from fmripost_aroma.workflows.aroma import init_ica_aroma_wf - wf = init_single_subject_wf(subject_id='01') + wf = init_ica_aroma_wf(subject_id='01') assert wf.name == 'sub_01_wf'