0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

POSCARが存在するディレクトリorファイルパス一覧の取得

Posted at

プログラム使用法の確認

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

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?