Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed May 8, 2024
1 parent ac982cc commit a8d18fc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -16,4 +15,4 @@ python:
- method: pip
path: .
extra_requirements:
- doc
- doc
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ RUN apt-get update && \
gcc \
git \
gnupg \
libc-dev \
lsb-release \
netbase \
xvfb && \
Expand Down
3 changes: 2 additions & 1 deletion src/fmripost_aroma/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions src/fmripost_aroma/workflows/tests/test_base.py
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit a8d18fc

Please sign in to comment.