プログラム使用法の確認
python3 get_poscar_existed_path_list_argparse.py -h
usage: get_poscar_existed_path_list_argparse.py
example: python3 get_poscar_existed_path_list_argparse.py /mnt/ssd_elecom_c2c_960gb/cif/
This script takes five arguments: arg1.
positional arguments:
arg1 directory path that name is cif/: /mnt/ssd_elecom_c2c_960gb/cif/
options:
-h, --help show this help message and exit
実行ログ
time python3 get_poscar_existed_path_list_argparse.py /mnt/ssd_elecom_c2c_960gb/cif/
os.path.exists(target_npy_p): True
len(poscar_folder_path_list): 507142
Now getting poscar folder sub path list!!!
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████| 507142/507142 [09:22<00:00, 902.16it/s]len(poscar_existed_file_path_list): 308325
Both poscar_existed_file_path_list and poscar_existed_folder_path_list were saved as .npy
real 10m24.513s
user 6m44.089s
sys 27m28.772s