(file_path)
| 42 | continue |
| 43 | |
| 44 | def extract_timestamp(file_path): |
| 45 | base = osp.basename(file_path) |
| 46 | num_str = osp.splitext(base)[0] |
| 47 | try: |
| 48 | return float(num_str) |
| 49 | except ValueError: |
| 50 | return 0.0 |
| 51 | |
| 52 | image_files = sorted(image_files, key=lambda x: extract_timestamp(x)) |
| 53 |
nothing calls this directly
no outgoing calls
no test coverage detected