diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dbd5006..603ba9b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,16 +22,31 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -e .[test,dev] - - name: Linter + pip install finufft ipywidgets + pip install -e .[test,toolkit] + - name: Test + run: | + pytest + linters: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python }} + cache: 'pip' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -e .[dev] + - name: Linters run: | black --check src tests ruff check . - name: Annotate locations with typos + if: always() uses: codespell-project/codespell-problem-matcher@v1 - name: Codespell + if: always() uses: codespell-project/actions-codespell@v2 - # Run tests - - name: Test - run: | - pytest diff --git a/README.md b/README.md index 8b515f0..10a9334 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # SNAKE-fMRI: Simulator from neuro-activation to K-space Exploration - +

A Simulator from Neurovascular coupling to Acquisition of K-space data for Exploration of fMRI Technique

diff --git a/docs/_static/logos/snake-fmriV2-logo.png b/docs/_static/logos/snake-fmriV2-logo.png index b71c7b5..6cc0e9d 100644 Binary files a/docs/_static/logos/snake-fmriV2-logo.png and b/docs/_static/logos/snake-fmriV2-logo.png differ diff --git a/docs/conf.py b/docs/conf.py index 584a925..93f35b3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -112,7 +112,7 @@ "home_page_in_toc": True, "logo": { "image_light": "_static/logos/snake-fmriV2-logo.png", - "image_dark": "_static/logos/snake-fmriV2-logo.png", + "image_dark": "_static/logos/snake-fmriV2-logo_dark.png", }, } html_title = "SNAKE-fMRI Documentation" diff --git a/pyproject.toml b/pyproject.toml index 1ffae4a..8218cdf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ dependencies = [ # Optional [project.optional-dependencies] # Optional dev = ["black", "ruff", "isort"] test = ["pytest", "pytest-cov", "pytest-sugar", "pytest-xdist"] -doc = ["myst-parser", "sphinx-copybutton","sphinx-gallery","sphinx-book-theme"] +doc = ["myst-parser", "sphinx-copybutton","sphinx-gallery","sphinx-book-theme","matplotlib", "pysap-fmri", "ipywidgets"] toolkit = [ "matplotlib", "pysap-fmri"] # List URLs that are relevant to your project # This field corresponds to the "Project-URL" and "Home-Page" metadata fields: