Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion clinica/pipelines/pet/volume/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{
"type": "software",
"name": "spm",
"version": ">=12"
"version": ">=25"
}
]
}
2 changes: 1 addition & 1 deletion docs/Pipelines/PET_Volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You need to have performed the [`t1-volume`](./T1_Volume.md) pipeline on your T1

## Dependencies

If you only installed the core of Clinica, this pipeline needs the installation of either [SPM12](../Software/Third-party.md#spm12) and [Matlab](../Software/Third-party.md#matlab), or [spm standalone](../Software/Third-party.md#spm12-standalone).
If you only installed the core of Clinica, this pipeline needs the installation of [SPM standalone](../Software/Third-party.md#spm12-standalone).

In addition, if you want to apply partial volume correction (PVC) on your PET data, you will need to install [PETPVC 1.2.4](../Software/Third-party.md#petpvc), which depends on [ITK 4](../Software/Third-party.md#itk).

Expand Down
2 changes: 1 addition & 1 deletion docs/Software/Third-party.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ If you want to install `SPM12` without installing [Matlab](#matlab), you will ne

!!! danger "Which version to use ?"
SPM has recently released a version `SPM25` on Github for which the installation is described [here](https://www.fil.ion.ucl.ac.uk/spm/docs/installation/standalone/).
Clinica does not support this version yet. If you want to use pipelines relying on SPM please use SPM12.
Clinica does support this version for both `t1-volume` and `pet-volume`

!!! tip "Verify your environment variables"
If you followed the installation instructions, you should have set the environment variable `$LD_LIBRARY_PATH` on Linux, or `$DYLD_LIBRARY_PATH` on MacOS.
Expand Down
6 changes: 3 additions & 3 deletions test/unittests/pipelines/pet/test_pet_volume_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_pet_volume_info_loading(tmp_path):
"version": "0.1.0",
"space_caps": "55M",
"space_wd": "245M",
"dependencies": [{"type": "software", "name": "spm", "version": ">=12"}],
"dependencies": [{"type": "software", "name": "spm", "version": ">=25"}],
}


Expand All @@ -29,7 +29,7 @@ def test_pet_volume_dependencies(tmp_path, mocker):

mocker.patch(
"clinica.utils.check_dependency._get_spm_version",
return_value=Version("12.7219"),
return_value=Version("25.7219"),
)
bids = build_bids_directory(tmp_path / "bids", {"sub-01": ["ses-M00"]})
caps = tmp_path / "caps"
Expand All @@ -39,6 +39,6 @@ def test_pet_volume_dependencies(tmp_path, mocker):

assert pipeline.dependencies == [
SoftwareDependency(
ThirdPartySoftware.SPM, SpecifierSet(">=12"), Version("12.7219")
ThirdPartySoftware.SPM, SpecifierSet(">=25"), Version("25.7219")
)
]
Loading