Skip to content

Commit a971d0a

Browse files
committed
STY: Remove unused arguments in PET test dummy class
Remove unused arguments in PET test dummy class.
1 parent 55b1c68 commit a971d0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_pet_workflow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ def test_pet_motion_estimator_run(monkeypatch):
4747
ds = _pet_dataset(3)
4848

4949
class DummyModel:
50-
def __init__(self, dataset, timepoints, xlim):
50+
def __init__(self, dataset):
5151
self.dataset = dataset
5252

5353
def fit_predict(self, index):
5454
if index is None:
5555
return None
56-
return np.zeros(ds.shape3d, dtype=np.float32)
56+
return np.zeros(self.dataset.shape3d, dtype=np.float32)
5757

5858
monkeypatch.setattr("nifreeze.estimator.PETModel", DummyModel)
5959

0 commit comments

Comments
 (0)