(path)
| 68 | |
| 69 | |
| 70 | def _get_file_list(path): |
| 71 | if os.path.isfile(path): |
| 72 | return [path] |
| 73 | |
| 74 | file_list = [] |
| 75 | for home, _, files in os.walk(path): |
| 76 | for file_name in files: |
| 77 | file_list.append(os.path.join(home, file_name)) |
| 78 | return file_list |
| 79 | |
| 80 | |
| 81 | def _load_data_as_dict(path, dtype=float): |
no outgoing calls
no test coverage detected