from abc import abstractmethod
from typing import Optional
from starfish.core.imagestack.imagestack import ImageStack
from starfish.core.pipeline.algorithmbase import AlgorithmBase


class ApplyTransformAlgorithm(metaclass=AlgorithmBase):

    @abstractmethod
    def run(self, stack, transforms_list, *args) ->Optional[ImageStack]:
        """Performs registration on the stack provided."""
        raise NotImplementedError()

ed340f01f698fc1f42cb765fe1437eb0f380f609
<mask token>

<mask token>


class ApplyTransformAlgorithm(metaclass=AlgorithmBase):
    <mask token>

<mask token>


class ApplyTransformAlgorithm(metaclass=AlgorithmBase):

    @abstractmethod
    def run(self, stack, transforms_list, *args) ->Optional[ImageStack]:
        """Performs registration on the stack provided."""
        raise NotImplementedError()

from abc import abstractmethod
from typing import Optional
from starfish.core.imagestack.imagestack import ImageStack
from starfish.core.pipeline.algorithmbase import AlgorithmBase


class ApplyTransformAlgorithm(metaclass=AlgorithmBase):

    @abstractmethod
    def run(self, stack, transforms_list, *args) ->Optional[ImageStack]:
        """Performs registration on the stack provided."""
        raise NotImplementedError()
