The file does not exist
Closed this issue · 1 comments
Describe the bug
There is an error "The file *.data does not exist" but the file exist. And the script can be run correctly by LAMMPS.
To Reproduce
Steps to reproduce the behavior:
- Go to VSCode and start to write a LAMMPS script with the extension.
- Copy a *.data to the directory.
- Write the command "read_data".
- See error.
Expected behavior
If the input file does not exist, report the error. But DOES NOT report the error when the input file exist.
Screenshots
Above.
Desktop (please complete the following information):
- OS: Windows and Linux.
- Version [v1.5.14]
Hi @cmbsnr . Thanks for your Bug-Report.
I've just pushed an update that changes the path-checks to relate to the script-path, rather than the current working directory. This was indeed clearly a bug. I am not a 100% sure this will fix your issue, but I suspect it will. I will close the issue. Please reopen if problems persist. The update will ship with the next release shortly.