MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / _makeDir

Function _makeDir

SLiCAP/SLiCAP.py:94–104  ·  view source on GitHub ↗

Creates the directory 'dirName' if it does not yet exist. :param dirName: Name of the ditectory. :type dirName: str

(dirName)

Source from the content-addressed store, hash-verified

92 return
93
94def _makeDir(dirName):
95 """
96 Creates the directory 'dirName' if it does not yet exist.
97
98 :param dirName: Name of the ditectory.
99 :type dirName: str
100 """
101
102 if not os.path.exists(dirName):
103 os.makedirs(dirName)
104 return
105
106def initProject(name, notebook=False, report_dirs=True):
107 """

Callers 1

initProjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected