Closed kousuke-nakano closed 1 year ago
Hi @q-posev ,
I have fixed the bug!
Now, both commands work:
trexio convert-from -t pyscf -i diamond_single_k.chk trexio_k_single.h5 trexio convert-from -t pyscf -i diamond_k_grid.chk trexio_k_grid.h5
I have found a problem.
When I repeated the above commands, the upper one removed the existing HDF5 file, while the lower one did not.
trexio convert-from -t pyscf -i diamond_single_k.chk trexio_k_single.h5 TREXIO file trexio_k_single.h5 already exists and will be removed.
trexio convert-from -t pyscf -i diamond_k_grid.chk trexio_k_grid.h5
I think this is because the names of the generated HDF5 files are different from the input values.
trexio_k_grid.h5
k0_trexio_k_grid.h5
k1_trexio_k_grid.h5
k7_trexio_k_grid.h5
Thanks for fixing that @kousuke-nakano ! You are right, we only remove one TREXIO file which is trexio_filename CLI argument. I will merge this PR and will fix it in the original one.
trexio_filename
Hi @q-posev ,
I have fixed the bug!
Now, both commands work:
I have found a problem.
When I repeated the above commands, the upper one removed the existing HDF5 file, while the lower one did not.
trexio convert-from -t pyscf -i diamond_k_grid.chk trexio_k_grid.h5
I think this is because the names of the generated HDF5 files are different from the input values.
trexio_k_grid.h5
k0_trexio_k_grid.h5
,k1_trexio_k_grid.h5
, ...k7_trexio_k_grid.h5
15