



'''simple docstring'''



import re



def   _A       (   _lowerCAmelCase					):



							"""simple docstring"""



							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()








'''simple docstring'''



import warnings

from ...utils import logging
from .image_processing_deit import DeiTImageProcessor


lowerCamelCase	 =       logging.get_logger(__name__)





class _UpperCamelCase		(     A		):





				'''simple docstring'''





				def __init__(							self  :  Optional[int]  ,       *_lowerCAmelCase  :  Union[str, Any]  ,       **_lowerCAmelCase  :  Union[str, Any]):







											'''simple docstring'''

											warnings.warn(
											    'The class DeiTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'
											    ' use DeiTImageProcessor instead.'  ,       _lowerCAmelCase  ,       )
											super().__init__(*_lowerCAmelCase  ,       **_lowerCAmelCase)



