(folder_path)
| 14 | import os |
| 15 | |
| 16 | def mkdir_p(folder_path): |
| 17 | # Creates a directory. equivalent to using mkdir -p on the command line |
| 18 | try: |
| 19 | makedirs(folder_path) |
| 20 | except OSError as exc: # Python >2.5 |
| 21 | if exc.errno == EEXIST and path.isdir(folder_path): |
| 22 | pass |
| 23 | else: |
| 24 | raise |
| 25 | |
| 26 | def searchForMaxIteration(folder): |
| 27 | saved_iters = [int(fname.split("_")[-1]) for fname in os.listdir(folder)] |
nothing calls this directly
no outgoing calls
no test coverage detected