




"""simple docstring"""

import unittest
from pathlib import Path
from tempfile import TemporaryDirectory
from unittest.mock import Mock, patch

import diffusers.utils.hub_utils
class      A__   (   unittest.TestCase  ):




	@patch("""diffusers.utils.hub_utils.get_full_repo_name"""						)
	def 				a_		( self	:						Any   ,     lowercase	:						Mock						)       ->			None:
						__snake_case        =						"""full_repo_name"""
						with TemporaryDirectory() as tmpdir:
											# Dummy args values
											__snake_case        =						Mock()
											__snake_case        =						tmpdir
											__snake_case        =						0
											__snake_case        =						"""hub_token"""
											__snake_case        =						"""dataset_name"""
											__snake_case        =						0.01
											__snake_case        =						100_000
											__snake_case        =						10_000
											__snake_case        =						0.01
											__snake_case        =						0.02
											__snake_case        =						0.03
											__snake_case        =						0.00_05
											__snake_case        =						0.00_00_01
											__snake_case        =						1
											__snake_case        =						10
											__snake_case        =						0.0_01
											__snake_case        =						0.1
											__snake_case        =						0.2
											__snake_case        =						True

											# Model card mush be rendered and saved
											diffusers.utils.hub_utils.create_model_card(lowercase   ,     model_name="""model_name"""						)
											self.assertTrue((Path(lowercase						) / """README.md""").is_file()						)








"""simple docstring"""

from .chunk_utils import chunk_layer
from .data_transforms import make_atomaa_masks
from .feats import atomaa_to_atomaa, frames_and_literature_positions_to_atomaa_pos, torsion_angles_to_frames
from .loss import compute_predicted_aligned_error, compute_tm
from .protein import Protein as OFProtein
from .protein import to_pdb
from .rigid_utils import Rigid, Rotation
from .tensor_utils import dict_multimap, flatten_final_dims, permute_final_dims


