Skip to content

Commit e8800e2

Browse files
committed
volume.transform is obsolete.
1 parent a831b96 commit e8800e2

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

siibra/volumes/volume.py

+1-8
Original file line numberDiff line numberDiff line change
@@ -254,14 +254,7 @@ def intersection(self, other: structure.BrainStructure, **kwargs) -> structure.B
254254
return None
255255

256256
def transform(self, affine: np.ndarray, space=None):
257-
""" only modifies the affine matrix and space. """
258-
return Volume(
259-
spacespec=space,
260-
providers=[p.transform(affine, space=space) for p in self.providers],
261-
name=self.name,
262-
variant=self.variant,
263-
datasets=self.datasets
264-
)
257+
raise NotImplementedError("Volume transformation is not yet implemented.")
265258

266259
def warp(self, space):
267260
if self.space.matches(space):

0 commit comments

Comments
 (0)