You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, There,
when I test your example file(gen_example.py) and specified all the proper execution paths, I meet a bug (File "/public/home/ZT/software/DeepH-pack-main/gen_example.py", line 118, in
stru_shift_pert.to('poscar', f'../example/work_dir/dataset/raw/{shift_index}/POSCAR')
File "/public/home/ZT/.conda/envs/ZT-py39/lib/python3.9/site-packages/pymatgen/core/structure.py", line 2561, in to
raise ValueError(f"Invalid format: {str(fmt)}")
ValueError: Invalid format: `../example/work_dir/dataset/raw/0/poscar), it seems the code in gen_example.py can't be recognized by pymatgen. pymatgen can't understand your code and my pymatgen version is pymatgen-2023.1.30. if you can test it or give me some advise, I would greatly appreciate your help.
best regards,
ZT
The text was updated successfully, but these errors were encountered:
Hi, There,
when I test your example file(gen_example.py) and specified all the proper execution paths, I meet a bug (File "/public/home/ZT/software/DeepH-pack-main/gen_example.py", line 118, in
stru_shift_pert.to('poscar', f'../example/work_dir/dataset/raw/{shift_index}/POSCAR')
File "/public/home/ZT/.conda/envs/ZT-py39/lib/python3.9/site-packages/pymatgen/core/structure.py", line 2561, in to
raise ValueError(f"Invalid format:
{str(fmt)}
")ValueError: Invalid format: `../example/work_dir/dataset/raw/0/poscar), it seems the code in gen_example.py can't be recognized by pymatgen. pymatgen can't understand your code and my pymatgen version is pymatgen-2023.1.30. if you can test it or give me some advise, I would greatly appreciate your help.
best regards,
ZT
The text was updated successfully, but these errors were encountered: