(source, dest, print_info=True)
| 1791 | |
| 1792 | |
| 1793 | def copy_files(source, dest, print_info=True): |
| 1794 | |
| 1795 | plys = [ply.split("/")[-1] for ply in glob.glob(os.path.join(source, "*.ply"))] |
| 1796 | plys = sorted(plys) |
| 1797 | for i, ply in enumerate(plys): |
| 1798 | source_path = os.path.join(source, ply) |
| 1799 | dest_path = os.path.join(dest, ply) |
| 1800 | shutil.copy(source_path, dest_path) |
| 1801 | if(print_info): print(f"---- {i}/{len(plys)} Copying : {dest_path} ----") |
| 1802 | |
| 1803 | def load_pcd_ascii(path): |
| 1804 | with open(path, 'r') as f: |
nothing calls this directly
no outgoing calls
no test coverage detected