



"""simple docstring"""






import warnings

from ...utils import logging
from .image_processing_segformer import SegformerImageProcessor


__snake_case							:   Optional[Any]      =    logging.get_logger(__name__)



class 			A__   (  __SCREAMING_SNAKE_CASE							):




	'''simple docstring'''





	def __init__(     self:		str       ,			*_SCREAMING_SNAKE_CASE:		int       ,			**_SCREAMING_SNAKE_CASE:		Optional[Any])				->       None:

				"""simple docstring"""

				warnings.warn(
				    "The class SegformerFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
				    " Please use SegformerImageProcessor instead."       ,			_SCREAMING_SNAKE_CASE       ,			)
				super().__init__(*_SCREAMING_SNAKE_CASE       ,			**_SCREAMING_SNAKE_CASE)




"""simple docstring"""






import re


def 			_lowercase				(  __snake_case	)						->   str:

			if len(re.findall("[ATCG]"					,__snake_case	)	) != len(__snake_case	):
						raise ValueError("Invalid Strand"	)

			return dna.translate(dna.maketrans("ATCG"					,"TAGC"	)	)


if __name__ == "__main__":
	import doctest

	doctest.testmod()