MCPcopy
hub / github.com/OpenPPL/ppq / create_dir

Function create_dir

ppq/api/fsys.py:146–151  ·  view source on GitHub ↗
(dir: str)

Source from the content-addressed store, hash-verified

144
145
146def create_dir(dir: str):
147 try: os.mkdir(dir)
148 except Exception as e: pass
149 finally:
150 if not os.path.isdir(dir):
151 raise FileNotFoundError(f'Can not create directory at {dir}')
152
153
154def compare_cosine_similarity_between_results(

Callers 2

dump_internal_resultsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected