Skip to content

Commit dd0c6f1

Browse files
committed
FIX: Use class attribute instead of outer variable in PET test
Use class attribute instead of outer variable in PET test dummy class.
1 parent a18cbad commit dd0c6f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_integration_pet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(self, dataset, timepoints, xlim):
7676
def fit_predict(self, index):
7777
if index is None:
7878
return None
79-
return np.zeros(ds.shape3d, dtype=np.float32)
79+
return np.zeros(self.dataset.shape3d, dtype=np.float32)
8080

8181
monkeypatch.setattr("nifreeze.estimator.PETModel", DummyModel)
8282

0 commit comments

Comments
 (0)