code: def makedir(path):
      
      if path is not None and not os.path.exists(path):
          os.makedirs(path)
docs: Make the analysis directory path and any parent directories that don't
      already exist. Will do nothing if path already exists.