<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def makedir(path):
 """ Make the analysis directory path and any parent directories that don't already exist. Will do nothing if path already exists. """

    if path is not None and not os.path.exists(path):
        os.makedirs(path)