Skip to content

Commit 1ca8694

Browse files
committed
FIX: Avoid trying to instantiate the PET model through the factory
The model factory is only designed to instantiate dMRI models.
1 parent 431ce51 commit 1ca8694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nifreeze/model/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def init(model: str | None = None, **kwargs):
6767

6868
return AverageDWIModel(kwargs.pop("dataset"), **kwargs)
6969

70-
if model.lower() in ("gqi", "dti", "dki", "pet"):
70+
if model.lower() in ("gqi", "dti", "dki"):
7171
from importlib import import_module
7272

7373
dmrimod = import_module("nifreeze.model.dmri")

0 commit comments

Comments
 (0)